diff options
author | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:03:11 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:03:11 +0000 |
commit | 66fa5b578904f7df61293d6ce5c08966b5db13db (patch) | |
tree | 5db57c13d5b23e76793b60bbc48579ac24da1550 /firmware/export/config-e200.h | |
parent | 7b70046e7ab7329d93f800fe4b074fabff998a0e (diff) | |
download | rockbox-66fa5b578904f7df61293d6ce5c08966b5db13db.tar.gz rockbox-66fa5b578904f7df61293d6ce5c08966b5db13db.zip |
Rename targets to be consistent in all places. (FS #10819)
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23881 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-e200.h')
-rw-r--r-- | firmware/export/config-e200.h | 219 |
1 files changed, 0 insertions, 219 deletions
diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h deleted file mode 100644 index 8b7e0d68b2..0000000000 --- a/firmware/export/config-e200.h +++ /dev/null | |||
@@ -1,219 +0,0 @@ | |||
1 | /* | ||
2 | * This config file is for the Sandisk Sansa e200 | ||
3 | */ | ||
4 | #define TARGET_TREE /* this target is using the target tree system */ | ||
5 | |||
6 | /* For Rolo and boot loader */ | ||
7 | #define MODEL_NUMBER 16 | ||
8 | #define MODEL_NAME "Sandisk Sansa e200 series" | ||
9 | |||
10 | #define HW_SAMPR_CAPS (SAMPR_CAP_44) | ||
11 | |||
12 | /* define this if you have recording possibility */ | ||
13 | #define HAVE_RECORDING | ||
14 | |||
15 | #define REC_SAMPR_CAPS (SAMPR_CAP_22) | ||
16 | #define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */ | ||
17 | #define REC_SAMPR_DEFAULT SAMPR_22 | ||
18 | |||
19 | /* Define bitmask of input sources - recordable bitmask can be defined | ||
20 | explicitly if different */ | ||
21 | #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO) | ||
22 | |||
23 | /* define this if you have a bitmap LCD display */ | ||
24 | #define HAVE_LCD_BITMAP | ||
25 | |||
26 | /* define this if you have a colour LCD */ | ||
27 | #define HAVE_LCD_COLOR | ||
28 | |||
29 | /* define this if you want album art for this target */ | ||
30 | #define HAVE_ALBUMART | ||
31 | |||
32 | /* define this to enable bitmap scaling */ | ||
33 | #define HAVE_BMP_SCALING | ||
34 | |||
35 | /* define this to enable JPEG decoding */ | ||
36 | #define HAVE_JPEG | ||
37 | |||
38 | /* define this if you have a light associated with the buttons */ | ||
39 | #define HAVE_BUTTON_LIGHT | ||
40 | |||
41 | /* define this if you have access to the quickscreen */ | ||
42 | #define HAVE_QUICKSCREEN | ||
43 | |||
44 | /* define this if you have access to the pitchscreen */ | ||
45 | #define HAVE_PITCHSCREEN | ||
46 | |||
47 | /* define this if you would like tagcache to build on this target */ | ||
48 | #define HAVE_TAGCACHE | ||
49 | |||
50 | /* LCD dimensions */ | ||
51 | #define LCD_WIDTH 176 | ||
52 | #define LCD_HEIGHT 220 | ||
53 | #define LCD_DEPTH 16 /* 65536 colours */ | ||
54 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | ||
55 | |||
56 | #ifndef BOOTLOADER | ||
57 | /* define this if you have LCD enable function */ | ||
58 | #define HAVE_LCD_ENABLE | ||
59 | |||
60 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
61 | should be defined as well. */ | ||
62 | #define HAVE_LCD_SLEEP | ||
63 | #define HAVE_LCD_SLEEP_SETTING | ||
64 | #endif | ||
65 | |||
66 | /* define this if you can flip your LCD */ | ||
67 | #define HAVE_LCD_FLIP | ||
68 | |||
69 | /* define this if you can invert the colours on your LCD */ | ||
70 | #define HAVE_LCD_INVERT | ||
71 | |||
72 | /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */ | ||
73 | |||
74 | #define CONFIG_KEYPAD SANSA_E200_PAD | ||
75 | |||
76 | /* Define this if you do software codec */ | ||
77 | #define CONFIG_CODEC SWCODEC | ||
78 | /* There is no hardware tone control */ | ||
79 | #define HAVE_SW_TONE_CONTROLS | ||
80 | /* The PP5024 has a built-in AustriaMicrosystems AS3514 */ | ||
81 | #define HAVE_AS3514 | ||
82 | |||
83 | /* define this if you have a real-time clock */ | ||
84 | #ifndef BOOTLOADER | ||
85 | #define CONFIG_RTC RTC_AS3514 | ||
86 | #endif | ||
87 | |||
88 | /* Define this if you have a software controlled poweroff */ | ||
89 | #define HAVE_SW_POWEROFF | ||
90 | |||
91 | /* Some Sansa E200s seem to be FAT16 formatted */ | ||
92 | #define HAVE_FAT16SUPPORT | ||
93 | |||
94 | /* The number of bytes reserved for loadable codecs */ | ||
95 | #define CODEC_SIZE 0x100000 | ||
96 | |||
97 | /* The number of bytes reserved for loadable plugins */ | ||
98 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
99 | |||
100 | #define AB_REPEAT_ENABLE 1 | ||
101 | |||
102 | /* FM Tuner */ | ||
103 | #define CONFIG_TUNER LV24020LP | ||
104 | #define HAVE_TUNER_PWR_CTRL | ||
105 | |||
106 | /* Define this for LCD backlight available */ | ||
107 | #define HAVE_BACKLIGHT | ||
108 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
109 | |||
110 | /* Which backlight fading type? */ | ||
111 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING | ||
112 | |||
113 | /* define this if the unit uses a scrollwheel for navigation */ | ||
114 | #define HAVE_SCROLLWHEEL | ||
115 | /* define to activate advanced wheel acceleration code */ | ||
116 | #define HAVE_WHEEL_ACCELERATION | ||
117 | /* define from which rotation speed [degree/sec] on the acceleration starts */ | ||
118 | #define WHEEL_ACCEL_START 540 | ||
119 | /* define type of acceleration (1 = ^2, 2 = ^3, 3 = ^4) */ | ||
120 | #define WHEEL_ACCELERATION 1 | ||
121 | |||
122 | /* define this if you have a flash memory storage */ | ||
123 | #define HAVE_FLASH_STORAGE | ||
124 | |||
125 | /* define this if the flash memory uses the SecureDigital Memory Card protocol */ | ||
126 | #define CONFIG_STORAGE STORAGE_SD | ||
127 | |||
128 | #define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */ | ||
129 | #define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */ | ||
130 | #define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */ | ||
131 | #define BATTERY_CAPACITY_INC 0 /* capacity increment */ | ||
132 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
133 | |||
134 | /* Charging implemented in a target-specific algorithm */ | ||
135 | #define CONFIG_CHARGING CHARGING_TARGET | ||
136 | #define HAVE_POWEROFF_WHILE_CHARGING | ||
137 | |||
138 | /* define current usage levels */ | ||
139 | #define CURRENT_NORMAL 30 /* Toni's measurements in Nov 2008 */ | ||
140 | #define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */ | ||
141 | #define CURRENT_RECORD 30 /* flash player, so this is just unboosted current*/ | ||
142 | |||
143 | /* define this if the unit can be powered or charged via USB */ | ||
144 | #define HAVE_USB_POWER | ||
145 | |||
146 | /** Non-simulator section **/ | ||
147 | #ifndef SIMULATOR | ||
148 | |||
149 | /* Define this if you have a PortalPlayer PP5024 */ | ||
150 | #define CONFIG_CPU PP5024 | ||
151 | |||
152 | /* Define this if you want to use the PP5024 i2c interface */ | ||
153 | #define CONFIG_I2C I2C_PP5024 | ||
154 | |||
155 | /* define this if the hardware can be powered off while charging */ | ||
156 | /* Sansa can't be powered off while charging */ | ||
157 | /* #define HAVE_POWEROFF_WHILE_CHARGING */ | ||
158 | |||
159 | /* The start address index for ROM builds */ | ||
160 | #define ROM_START 0x00000000 | ||
161 | |||
162 | /* Define this to the CPU frequency */ | ||
163 | #define CPU_FREQ 75000000 | ||
164 | |||
165 | /* Type of LCD TODO: hopefully the same as the x5 but check this*/ | ||
166 | #define CONFIG_LCD LCD_X5 | ||
167 | |||
168 | /* Offset ( in the firmware file's header ) to the file CRC and data. These are | ||
169 | only used when loading the old format rockbox.e200 file */ | ||
170 | #define FIRMWARE_OFFSET_FILE_CRC 0x0 | ||
171 | #define FIRMWARE_OFFSET_FILE_DATA 0x8 | ||
172 | |||
173 | #ifndef BOOTLOADER | ||
174 | #define HAVE_MULTIDRIVE | ||
175 | #define NUM_DRIVES 2 | ||
176 | #define HAVE_HOTSWAP | ||
177 | #endif | ||
178 | |||
179 | /* USB On-the-go */ | ||
180 | #define CONFIG_USBOTG USBOTG_ARC | ||
181 | |||
182 | /* enable these for the experimental usb stack */ | ||
183 | #define HAVE_USBSTACK | ||
184 | #define USE_ROCKBOX_USB | ||
185 | #define USB_VENDOR_ID 0x0781 | ||
186 | #define USB_PRODUCT_ID 0x7421 | ||
187 | |||
188 | |||
189 | /* Define this if you have adjustable CPU frequency */ | ||
190 | #define HAVE_ADJUSTABLE_CPU_FREQ | ||
191 | |||
192 | #define MI4_FORMAT | ||
193 | #define BOOTFILE_EXT "mi4" | ||
194 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
195 | #define BOOTDIR "/.rockbox" | ||
196 | |||
197 | #define ICODE_ATTR_TREMOR_NOT_MDCT | ||
198 | |||
199 | #define INCLUDE_TIMEOUT_API | ||
200 | |||
201 | #endif /* SIMULATOR */ | ||
202 | |||
203 | |||
204 | /** Port-specific settings **/ | ||
205 | |||
206 | /* Main LCD backlight brightness range and defaults */ | ||
207 | #define MIN_BRIGHTNESS_SETTING 1 | ||
208 | #define MAX_BRIGHTNESS_SETTING 12 | ||
209 | #define DEFAULT_BRIGHTNESS_SETTING 6 | ||
210 | |||
211 | /* Default recording levels */ | ||
212 | #define DEFAULT_REC_MIC_GAIN 23 | ||
213 | #define DEFAULT_REC_LEFT_GAIN 23 | ||
214 | #define DEFAULT_REC_RIGHT_GAIN 23 | ||
215 | |||
216 | #ifdef E200R_INSTALLER | ||
217 | #define IRAMORIG 0x40004000 | ||
218 | #endif | ||
219 | |||