fix reds
[kugel-rb.git] / firmware / export / config-iaudio7.h
bloba5dd30d568f28f69a47da347eca5f0f28bda2a90
1 /*
2 * This config file is for the Iaudio7 series
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 /* For Rolo and boot loader */
7 #define MODEL_NUMBER 32
8 #define MODEL_NAME "Cowon iAudio7"
10 /* define this if you have recording possibility */
11 #define HAVE_RECORDING
13 /* Define bitmask of input sources - recordable bitmask can be defined
14 explicitly if different */
15 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
17 /* FM Tuner */
18 #define CONFIG_TUNER LV24020LP
19 #define HAVE_TUNER_PWR_CTRL
21 /* Define this for FM radio input available */
22 #define HAVE_FMRADIO_IN
24 /* define hardware samples rate caps mask */
25 #define HW_SAMPR_CAPS (/*SAMPR_CAP_88 | */SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
27 /* define the bitmask of recording sample rates */
28 #define REC_SAMPR_CAPS (SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
30 /* define this if you have a bitmap LCD display */
31 #define HAVE_LCD_BITMAP
33 /* define this if you have a colour LCD */
34 #define HAVE_LCD_COLOR
36 /* define this if you can flip your LCD */
37 //#define HAVE_LCD_FLIP
39 /* define this if you can invert the colours on your LCD */
40 //#define HAVE_LCD_INVERT
42 /* define this if you want album art for this target */
43 #define HAVE_ALBUMART
45 /* define this if you have access to the quickscreen */
46 #define HAVE_QUICKSCREEN
48 /* define this if you have access to the pitchscreen */
49 #define HAVE_PITCHSCREEN
51 /* define this if you have LCD enable function */
52 #define HAVE_LCD_ENABLE
54 /* define this if you would like tagcache to build on this target */
55 #define HAVE_TAGCACHE
57 #define HAVE_FAT16SUPPORT
59 #if 0 && !defined(SIMULATOR) /* Enable for USB driver test */
60 #define HAVE_USBSTACK
61 #define USE_HIGH_SPEED
62 #define USB_VENDOR_ID 0x0e21
63 #define USB_PRODUCT_ID 0x0750
65 #define USB_STORAGE
66 #define USB_SERIAL
67 #endif
69 /* define this if you have a flash memory storage */
70 #define HAVE_FLASH_STORAGE
72 #define CONFIG_STORAGE STORAGE_NAND
74 #define CONFIG_NAND NAND_TCC
76 /* LCD dimensions */
77 #define LCD_WIDTH 160
78 #define LCD_HEIGHT 128
79 /* 16bits for now... */
80 #define LCD_DEPTH 16 /* 262144 colours */
81 #define LCD_PIXELFORMAT RGB565 /*rgb565*/
83 /*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
85 /* define this to indicate your device's keypad */
86 #define CONFIG_KEYPAD IAUDIO67_PAD
88 /* #define HAVE_BUTTON_DATA */
90 /* define this if you have a real-time clock */
91 #define CONFIG_RTC RTC_PCF50606
93 /* define this if you have RTC RAM available for settings */
94 //#define HAVE_RTC_RAM
96 /* Define this if you have a software controlled poweroff */
97 #define HAVE_SW_POWEROFF
99 /* Reduce Tremor's ICODE usage */
100 #define ICODE_ATTR_TREMOR_NOT_MDCT
102 /* The number of bytes reserved for loadable codecs */
103 #define CODEC_SIZE 0x100000
105 /* The number of bytes reserved for loadable plugins */
106 #define PLUGIN_BUFFER_SIZE 0x80000
108 #define AB_REPEAT_ENABLE 1
110 /* Define this if you do software codec */
111 #define CONFIG_CODEC SWCODEC
113 /* The iaudio7 uses built-in WM8731 codec */
114 #define HAVE_WM8731
115 /* Codec is slave on serial bus */
116 #define CODEC_SLAVE
118 /* WM8731 has no tone controls, so we use the software ones */
119 #define HAVE_SW_TONE_CONTROLS
121 /* Define this for LCD backlight available */
122 #define HAVE_BACKLIGHT
124 #define CONFIG_I2C I2C_TCC77X
126 #define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
127 #define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
128 #define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
129 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
130 #define BATTERY_TYPES_COUNT 1 /* only one type */
132 /* define this if the unit should not shut down on low battery. */
133 #define NO_LOW_BATTERY_SHUTDOWN
134 #define CONFIG_CHARGING CHARGING_SIMPLE
136 #ifndef SIMULATOR
138 /* Define this if you have a TCC770 */
139 #define CONFIG_CPU TCC770
141 /* Define this if you have ATA power-off control */
142 #define HAVE_ATA_POWER_OFF
144 /* Define this to the CPU frequency */
145 #define CPU_FREQ 120000000
147 /* Offset ( in the firmware file's header ) to the file CRC */
148 #define FIRMWARE_OFFSET_FILE_CRC 0
150 /* Offset ( in the firmware file's header ) to the real data */
151 #define FIRMWARE_OFFSET_FILE_DATA 8
153 /* Software controlled LED */
154 #define CONFIG_LED LED_VIRTUAL
156 #define CONFIG_LCD LCD_IAUDIO67
158 #define BOOTFILE_EXT "iaudio"
159 #define BOOTFILE "rockbox." BOOTFILE_EXT
160 #define BOOTDIR "/"
162 #ifdef BOOTLOADER
163 #define TCCBOOT
164 #endif
165 #endif /* SIMULATOR */