summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config-ipodnano2g.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/firmware/export/config-ipodnano2g.h b/firmware/export/config-ipodnano2g.h
index 1b72292e61..766fd60a39 100644
--- a/firmware/export/config-ipodnano2g.h
+++ b/firmware/export/config-ipodnano2g.h
@@ -104,7 +104,7 @@
104 104
105/* Define this for LCD backlight available */ 105/* Define this for LCD backlight available */
106#define HAVE_BACKLIGHT 106#define HAVE_BACKLIGHT
107#define HAVE_BACKLIGHT_BRIGHTNESS 107/* #define HAVE_BACKLIGHT_BRIGHTNESS - not yet */
108 108
109/* Define this if you have a software controlled poweroff */ 109/* Define this if you have a software controlled poweroff */
110#define HAVE_SW_POWEROFF 110#define HAVE_SW_POWEROFF
@@ -115,14 +115,13 @@
115/* The number of bytes reserved for loadable plugins */ 115/* The number of bytes reserved for loadable plugins */
116#define PLUGIN_BUFFER_SIZE 0x80000 116#define PLUGIN_BUFFER_SIZE 0x80000
117 117
118 118#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */
119#define BATTERY_CAPACITY_DEFAULT 700 /* default battery capacity */ 119#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
120#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ 120#define BATTERY_CAPACITY_MAX 400 /* max. capacity selectable */
121#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
122#define BATTERY_CAPACITY_INC 50 /* capacity increment */ 121#define BATTERY_CAPACITY_INC 50 /* capacity increment */
123#define BATTERY_TYPES_COUNT 1 /* only one type */ 122#define BATTERY_TYPES_COUNT 1 /* only one type */
124 123
125/* Hardware controlled charging? FIXME */ 124/* Hardware controlled charging? */
126#define CONFIG_CHARGING CHARGING_SIMPLE 125#define CONFIG_CHARGING CHARGING_SIMPLE
127 126
128#ifndef SIMULATOR 127#ifndef SIMULATOR
@@ -161,7 +160,7 @@
161#define USB_HANDLED_BY_OF 160#define USB_HANDLED_BY_OF
162 161
163/* Define this if you have adjustable CPU frequency */ 162/* Define this if you have adjustable CPU frequency */
164#define HAVE_ADJUSTABLE_CPU_FREQ 163/* #define HAVE_ADJUSTABLE_CPU_FREQ - not yet */
165 164
166#define BOOTFILE_EXT "ipod" 165#define BOOTFILE_EXT "ipod"
167#define BOOTFILE "rockbox." BOOTFILE_EXT 166#define BOOTFILE "rockbox." BOOTFILE_EXT
@@ -170,9 +169,11 @@
170/* Alternative bootfile extension - this is for encrypted images */ 169/* Alternative bootfile extension - this is for encrypted images */
171#define BOOTFILE_EXT2 "ipodx" 170#define BOOTFILE_EXT2 "ipodx"
172 171
172#if 0
173#define BOOTLOADER_ENTRYPOINT 0x001F0000 173#define BOOTLOADER_ENTRYPOINT 0x001F0000
174#define FLASH_ENTRYPOINT 0x00001000 174#define FLASH_ENTRYPOINT 0x00001000
175#define FLASH_MAGIC 0xfbfbfbf1 175#define FLASH_MAGIC 0xfbfbfbf1
176#endif
176 177
177#endif /* SIMULATOR */ 178#endif /* SIMULATOR */
178 179
@@ -181,6 +182,7 @@
181 182
182/** Port-specific settings **/ 183/** Port-specific settings **/
183 184
185#if 0
184/* Main LCD contrast range and defaults */ 186/* Main LCD contrast range and defaults */
185#define MIN_CONTRAST_SETTING 1 187#define MIN_CONTRAST_SETTING 1
186#define MAX_CONTRAST_SETTING 30 188#define MAX_CONTRAST_SETTING 30
@@ -188,6 +190,6 @@
188 190
189/* Main LCD backlight brightness range and defaults */ 191/* Main LCD backlight brightness range and defaults */
190#define MIN_BRIGHTNESS_SETTING 0 192#define MIN_BRIGHTNESS_SETTING 0
191#define MAX_BRIGHTNESS_SETTING 15 193#define MAX_BRIGHTNESS_SETTING 31
192#define DEFAULT_BRIGHTNESS_SETTING 10 194#define DEFAULT_BRIGHTNESS_SETTING 20
193 195#endif