Delete superfluous image which seems to have been accidentally committed to the wrong...
[kugel-rb.git] / firmware / export / config-cowond2.h
blob1bcb4068373058ced9f516d9f6bedb0d0e23aac4
1 /*
2 * This config file is for the Cowon iAudio D2
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 /* For Rolo and boot loader */
7 #define MODEL_NUMBER 24
9 #define MODEL_NAME "Cowon iAudio D2"
11 /* Produce a dual-boot bootloader.bin for mktccboot */
12 #define TCCBOOT
14 /* define this if you have recording possibility */
15 //#define HAVE_RECORDING
17 /* Define bitmask of input sources - recordable bitmask can be defined
18 explicitly if different */
19 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
21 /* define this if you have a bitmap LCD display */
22 #define HAVE_LCD_BITMAP
24 /* define this if you have a colour LCD */
25 #define HAVE_LCD_COLOR
27 /* define this if you can flip your LCD */
28 /* #define HAVE_LCD_FLIP */
30 /* define this if you can invert the colours on your LCD */
31 /* #define HAVE_LCD_INVERT */
33 /* define this if you want album art for this target */
34 #define HAVE_ALBUMART
36 /* define this if you have access to the quickscreen */
37 #define HAVE_QUICKSCREEN
38 /* define this if you have access to the pitchscreen */
39 #define HAVE_PITCHSCREEN
41 /* define this if you would like tagcache to build on this target */
42 //#define HAVE_TAGCACHE
44 /* FM Tuner
45 #define CONFIG_TUNER LV24020LP
46 #define HAVE_TUNER_PWR_CTRL*/
48 /* define this if you have a flash memory storage */
49 #define HAVE_FLASH_STORAGE
51 /* Some (2Gb?) D2s seem to be FAT16 formatted */
52 #define HAVE_FAT16SUPPORT
54 /* LCD dimensions */
55 #define LCD_WIDTH 320
56 #define LCD_HEIGHT 240
57 #define LCD_DEPTH 16
58 #define LCD_PIXELFORMAT 565
60 /* define this if you have LCD enable function */
61 #define HAVE_LCD_ENABLE
63 /* define this to indicate your device's keypad */
64 #define CONFIG_KEYPAD COWOND2_PAD
65 #define HAVE_TOUCHSCREEN
66 #define HAVE_BUTTON_DATA
68 /* define this if you have a real-time clock */
69 #define CONFIG_RTC RTC_PCF50606
71 /* define this if you have RTC RAM available for settings */
72 //#define HAVE_RTC_RAM
74 /* Define this if you have a software controlled poweroff */
75 #define HAVE_SW_POWEROFF
77 /* Reduce Tremor's ICODE usage */
78 #define ICODE_ATTR_TREMOR_NOT_MDCT
80 /* The number of bytes reserved for loadable codecs */
81 #define CODEC_SIZE 0x80000
83 /* The number of bytes reserved for loadable plugins */
84 #define PLUGIN_BUFFER_SIZE 0x80000
86 #define AB_REPEAT_ENABLE 1
88 /* Define this if you do software codec */
89 #define CONFIG_CODEC SWCODEC
91 /* The D2 uses a WM8985 codec */
92 #define HAVE_WM8985
94 /* Use WM8985 EQ1 & EQ5 as hardware tone controls */
95 /* #define HAVE_SW_TONE_CONTROLS */
97 /* Define this for LCD backlight available */
98 #define HAVE_BACKLIGHT
100 /* Enable LCD brightness control */
101 #define HAVE_BACKLIGHT_BRIGHTNESS
103 /* Main LCD backlight brightness range and defaults */
104 #define MIN_BRIGHTNESS_SETTING 1
105 #define MAX_BRIGHTNESS_SETTING 14
106 #define DEFAULT_BRIGHTNESS_SETTING 8
108 #define CONFIG_I2C I2C_TCC780X
110 #define BATTERY_CAPACITY_DEFAULT 1600 /* default battery capacity */
111 #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
112 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
113 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
114 #define BATTERY_TYPES_COUNT 1 /* only one type */
116 /* Hardware controlled charging */
117 #define CONFIG_CHARGING CHARGING_SIMPLE
119 #ifndef SIMULATOR
121 /* Define this if you have a TCC7801 */
122 #define CONFIG_CPU TCC7801
124 /* Define this if you have ATA power-off control */
125 #define HAVE_ATA_POWER_OFF
127 /* Define this to the CPU frequency */
128 #define CPU_FREQ 48000000
130 /* Define this if you have adjustable CPU frequency */
131 #define HAVE_ADJUSTABLE_CPU_FREQ
133 /* Offset ( in the firmware file's header ) to the file CRC */
134 #define FIRMWARE_OFFSET_FILE_CRC 0
136 /* Offset ( in the firmware file's header ) to the real data */
137 #define FIRMWARE_OFFSET_FILE_DATA 8
139 /* Software controlled LED */
140 #define CONFIG_LED LED_VIRTUAL
142 #define CONFIG_LCD LCD_COWOND2
144 #define BOOTFILE_EXT "iaudio"
145 #define BOOTFILE "rockbox." BOOTFILE_EXT
146 #define BOOTDIR "/.rockbox"
148 #endif /* SIMULATOR */