Add Johannes Linke to the header in deutsch.lang too.
[kugel-rb.git] / firmware / export / config-e200v2.h
blob5d2fa81df7e5d8ef736d9d378d9b2c9aeeb536c5
1 /*
2 * This config file is for the Sandisk Sansa e200v2
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 /* For Rolo and boot loader */
7 #define MODEL_NUMBER 41
8 #define MODEL_NAME "Sandisk Sansa e200v2 series"
10 #define HW_SAMPR_CAPS (SAMPR_CAP_44)
12 #if 0
13 /* define this if you have recording possibility */
14 #define HAVE_RECORDING
16 #define REC_SAMPR_CAPS (SAMPR_CAP_22)
17 #define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
18 #define REC_SAMPR_DEFAULT SAMPR_22
20 #endif
21 /* Define bitmask of input sources - recordable bitmask can be defined
22 explicitly if different */
23 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
25 /* define this if you have a bitmap LCD display */
26 #define HAVE_LCD_BITMAP
28 /* define this if you have a colour LCD */
29 #define HAVE_LCD_COLOR
31 /* define this if you want album art for this target */
32 #define HAVE_ALBUMART
34 /* define this if you have a light associated with the buttons */
35 #define HAVE_BUTTON_LIGHT
37 /* define this if you have access to the quickscreen */
38 #define HAVE_QUICKSCREEN
40 /* define this if you have access to the pitchscreen */
41 #define HAVE_PITCHSCREEN
43 /* define this if you would like tagcache to build on this target */
44 #define HAVE_TAGCACHE
46 /* LCD dimensions */
47 #define LCD_WIDTH 176
48 #define LCD_HEIGHT 220
49 #define LCD_DEPTH 16 /* 65536 colours */
50 #define LCD_PIXELFORMAT RGB565 /* rgb565 */
52 #ifndef BOOTLOADER
53 /* define this if you have LCD enable function */
54 #define HAVE_LCD_ENABLE
56 /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
57 should be defined as well. */
58 #define HAVE_LCD_SLEEP
59 #define HAVE_LCD_SLEEP_SETTING
60 #endif
62 /* define this if you can flip your LCD */
63 #define HAVE_LCD_FLIP
65 /* define this if you can invert the colours on your LCD */
66 #define HAVE_LCD_INVERT
68 /* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
70 #define CONFIG_KEYPAD SANSA_E200_PAD
72 /* Define this if you do software codec */
73 #define CONFIG_CODEC SWCODEC
75 /* There is no hardware tone control */
76 #define HAVE_SW_TONE_CONTROLS
78 /* We're working on the assumption that the AS3525 has something
79 similar to the AS3514 for audio codec etc */
80 #define HAVE_AS3514
82 /* define this if you have a real-time clock */
83 #ifndef BOOTLOADER
84 #define CONFIG_RTC RTC_AS3514
85 #endif
87 /* Define this if you have a software controlled poweroff */
88 #define HAVE_SW_POWEROFF
90 /* Some Sansa E200s seem to be FAT16 formatted */
91 #define HAVE_FAT16SUPPORT
93 /* The number of bytes reserved for loadable codecs */
94 #define CODEC_SIZE 0x100000
96 /* The number of bytes reserved for loadable plugins */
97 #define PLUGIN_BUFFER_SIZE 0x80000
99 #define AB_REPEAT_ENABLE 1
101 /* FM Tuner - suspected to be the SI4702 */
102 #define CONFIG_TUNER SI4700
103 /* #define HAVE_TUNER_PWR_CTRL */
105 /* Define this for LCD backlight available */
106 #define HAVE_BACKLIGHT
107 #define HAVE_BACKLIGHT_BRIGHTNESS
109 /* Main LCD backlight brightness range and defaults */
110 #define MIN_BRIGHTNESS_SETTING 1
111 #define MAX_BRIGHTNESS_SETTING 12
112 #define DEFAULT_BRIGHTNESS_SETTING 6
114 /* Which backlight fading type? */
115 #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
117 /* define this if the unit uses a scrollwheel for navigation */
118 #define HAVE_SCROLLWHEEL
119 /* define to activate advanced wheel acceleration code */
120 #define HAVE_WHEEL_ACCELERATION
121 /* define from which rotation speed [degree/sec] on the acceleration starts */
122 #define WHEEL_ACCEL_START 540
123 /* define type of acceleration (1 = ^2, 2 = ^3, 3 = ^4) */
124 #define WHEEL_ACCELERATION 1
126 /* define this if you have a flash memory storage */
127 #define HAVE_FLASH_STORAGE
129 /* define this if the flash memory uses the SecureDigital Memory Card protocol */
130 #define CONFIG_STORAGE STORAGE_SD
132 #define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
133 #define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
134 #define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
135 #define BATTERY_CAPACITY_INC 0 /* capacity increment */
136 #define BATTERY_TYPES_COUNT 1 /* only one type */
138 /* Hardware controlled charging? FIXME */
139 #define CONFIG_CHARGING CHARGING_SIMPLE
141 /* define this if the unit can be powered or charged via USB */
142 #define HAVE_USB_POWER
144 /** Non-simulator section **/
145 #ifndef SIMULATOR
147 /* Define this if you have an AMS AS3525*/
148 #define CONFIG_CPU AS3525
150 /* Define this if you want to use the AS2525 i2c interface */
151 #define CONFIG_I2C I2C_AS3525
153 /* define this if the hardware can be powered off while charging */
154 /* Sansa can't be powered off while charging */
155 /* #define HAVE_POWEROFF_WHILE_CHARGING */
157 /* The start address index for ROM builds */
158 #define ROM_START 0x00000000
160 /* Define this to the CPU frequency */
161 #define CPU_FREQ 75000000
163 /* Type of LCD TODO: hopefully the same as the x5 but check this*/
164 #define CONFIG_LCD LCD_X5
166 /* Offset ( in the firmware file's header ) to the file CRC and data. These are
167 only used when loading the old format rockbox.e200 file */
168 #define FIRMWARE_OFFSET_FILE_CRC 0x0
169 #define FIRMWARE_OFFSET_FILE_DATA 0x8
171 #ifndef BOOTLOADER
172 #define HAVE_MULTIVOLUME
173 #define HAVE_HOTSWAP
174 #endif
176 #define USB_HANDLED_BY_OF
178 /* USB On-the-go */
179 #define CONFIG_USBOTG USBOTG_AS3525
181 /* enable these for the experimental usb stack */
182 //#define HAVE_USBSTACK
183 #define USB_VENDOR_ID 0x0781
184 #define USB_PRODUCT_ID 0x7423
186 /* Virtual LED (icon) */
187 #define CONFIG_LED LED_VIRTUAL
189 /* Define this if you have adjustable CPU frequency */
190 #define HAVE_ADJUSTABLE_CPU_FREQ
192 #define BOOTFILE_EXT "sansa"
193 #define BOOTFILE "rockbox." BOOTFILE_EXT
194 #define BOOTDIR "/.rockbox"
196 #define ICODE_ATTR_TREMOR_NOT_MDCT
198 #define INCLUDE_TIMEOUT_API
200 #endif /* SIMULATOR */
202 /* Default recording levels */
203 #define DEFAULT_REC_MIC_GAIN 23
204 #define DEFAULT_REC_LEFT_GAIN 23
205 #define DEFAULT_REC_RIGHT_GAIN 23