diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-08-12 19:49:03 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-08-12 19:49:03 +0000 |
commit | f28da1a35a6403b153f93f66e3d96e485f89c363 (patch) | |
tree | 760d0c286a65042e18e2165ff555be0d40e80558 /firmware/export/config-e200.h | |
parent | 90c40b7fea0275e212addf3ae6ac6979f5b4585b (diff) | |
download | rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.tar.gz rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.zip |
Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-e200.h')
-rw-r--r-- | firmware/export/config-e200.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h index b59974ad96..17f06b5cea 100644 --- a/firmware/export/config-e200.h +++ b/firmware/export/config-e200.h | |||
@@ -44,6 +44,19 @@ | |||
44 | #define LCD_DEPTH 16 /* 65536 colours */ | 44 | #define LCD_DEPTH 16 /* 65536 colours */ |
45 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | 45 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ |
46 | 46 | ||
47 | /* define this if you have LCD enable function */ | ||
48 | #define HAVE_LCD_ENABLE | ||
49 | |||
50 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
51 | should be defined as well. */ | ||
52 | #define HAVE_LCD_SLEEP | ||
53 | |||
54 | /* define this if you can flip your LCD */ | ||
55 | #define HAVE_LCD_FLIP | ||
56 | |||
57 | /* define this if you can invert the colours on your LCD */ | ||
58 | #define HAVE_LCD_INVERT | ||
59 | |||
47 | /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ | 60 | /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ |
48 | 61 | ||
49 | #define CONFIG_KEYPAD SANSA_E200_PAD | 62 | #define CONFIG_KEYPAD SANSA_E200_PAD |
@@ -82,22 +95,20 @@ | |||
82 | #define HAVE_BACKLIGHT | 95 | #define HAVE_BACKLIGHT |
83 | #define HAVE_BACKLIGHT_BRIGHTNESS | 96 | #define HAVE_BACKLIGHT_BRIGHTNESS |
84 | 97 | ||
85 | #define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */ | 98 | /* define this if the unit uses a scrollwheel for navigation */ |
99 | #define HAVE_SCROLLWHEEL | ||
100 | /* define wheel acceleration scaling factor */ | ||
101 | /* Range for this target: 0xffffff*(0.0-16.000000894069724921567733381255) */ | ||
102 | #define WHEEL_ACCELERATION_FACTOR (0xffffff*7) | ||
86 | 103 | ||
87 | /* define this if you have a flash memory storage */ | 104 | /* define this if you have a flash memory storage */ |
88 | #define HAVE_FLASH_STORAGE | 105 | #define HAVE_FLASH_STORAGE |
89 | 106 | ||
90 | /** Non-simulator section **/ | 107 | #define HAVE_MULTIVOLUME |
91 | #ifndef SIMULATOR | ||
92 | |||
93 | /* Define this if you have a PortalPlayer PP5024 */ | ||
94 | #define CONFIG_CPU PP5024 | ||
95 | |||
96 | /* Define this if you want to use the PP5024 i2c interface */ | ||
97 | #define CONFIG_I2C I2C_PP5024 | ||
98 | 108 | ||
99 | /* Type of mobile power */ | 109 | /* Type of mobile power */ |
100 | #define CONFIG_BATTERY BATT_LIION750 | 110 | #define CONFIG_BATTERY BATT_LIION750 |
111 | #define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */ | ||
101 | #define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */ | 112 | #define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */ |
102 | #define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */ | 113 | #define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */ |
103 | #define BATTERY_CAPACITY_INC 0 /* capacity increment */ | 114 | #define BATTERY_CAPACITY_INC 0 /* capacity increment */ |
@@ -107,6 +118,18 @@ | |||
107 | /* Hardware controlled charging? FIXME */ | 118 | /* Hardware controlled charging? FIXME */ |
108 | #define CONFIG_CHARGING CHARGING_SIMPLE | 119 | #define CONFIG_CHARGING CHARGING_SIMPLE |
109 | 120 | ||
121 | /* define this if the unit can be powered or charged via USB */ | ||
122 | #define HAVE_USB_POWER | ||
123 | |||
124 | /** Non-simulator section **/ | ||
125 | #ifndef SIMULATOR | ||
126 | |||
127 | /* Define this if you have a PortalPlayer PP5024 */ | ||
128 | #define CONFIG_CPU PP5024 | ||
129 | |||
130 | /* Define this if you want to use the PP5024 i2c interface */ | ||
131 | #define CONFIG_I2C I2C_PP5024 | ||
132 | |||
110 | /* define this if the hardware can be powered off while charging */ | 133 | /* define this if the hardware can be powered off while charging */ |
111 | /* Sansa can't be powered off while charging */ | 134 | /* Sansa can't be powered off while charging */ |
112 | /* #define HAVE_POWEROFF_WHILE_CHARGING */ | 135 | /* #define HAVE_POWEROFF_WHILE_CHARGING */ |
@@ -121,20 +144,6 @@ | |||
121 | #define CONFIG_LCD LCD_X5 | 144 | #define CONFIG_LCD LCD_X5 |
122 | 145 | ||
123 | #define HAVE_HOTSWAP | 146 | #define HAVE_HOTSWAP |
124 | #define HAVE_MULTIVOLUME | ||
125 | |||
126 | /* define this if you have LCD enable function */ | ||
127 | #define HAVE_LCD_ENABLE | ||
128 | |||
129 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
130 | should be defined as well. */ | ||
131 | #define HAVE_LCD_SLEEP | ||
132 | |||
133 | /* define this if you can invert the colours on your LCD */ | ||
134 | #define HAVE_LCD_INVERT | ||
135 | |||
136 | /* define this if you can flip your LCD */ | ||
137 | #define HAVE_LCD_FLIP | ||
138 | 147 | ||
139 | /* Offset ( in the firmware file's header ) to the file CRC and data. These are | 148 | /* Offset ( in the firmware file's header ) to the file CRC and data. These are |
140 | only used when loading the old format rockbox.e200 file */ | 149 | only used when loading the old format rockbox.e200 file */ |
@@ -146,9 +155,6 @@ | |||
146 | /* USB On-the-go */ | 155 | /* USB On-the-go */ |
147 | #define CONFIG_USBOTG USBOTG_ARC | 156 | #define CONFIG_USBOTG USBOTG_ARC |
148 | 157 | ||
149 | /* define this if the unit can be powered or charged via USB */ | ||
150 | #define HAVE_USB_POWER | ||
151 | |||
152 | /* Virtual LED (icon) */ | 158 | /* Virtual LED (icon) */ |
153 | #define CONFIG_LED LED_VIRTUAL | 159 | #define CONFIG_LED LED_VIRTUAL |
154 | 160 | ||
@@ -163,12 +169,6 @@ | |||
163 | 169 | ||
164 | #define ICODE_ATTR_TREMOR_NOT_MDCT | 170 | #define ICODE_ATTR_TREMOR_NOT_MDCT |
165 | 171 | ||
166 | /* define this if the unit uses a scrollwheel for navigation */ | ||
167 | #define HAVE_SCROLLWHEEL | ||
168 | /* define wheel acceleration scaling factor */ | ||
169 | /* Range for this target: 0xffffff*(0.0-16.000000894069724921567733381255) */ | ||
170 | #define WHEEL_ACCELERATION_FACTOR (0xffffff*7) | ||
171 | |||
172 | #define INCLUDE_TIMEOUT_API | 172 | #define INCLUDE_TIMEOUT_API |
173 | 173 | ||
174 | #endif /* SIMULATOR */ | 174 | #endif /* SIMULATOR */ |