Use different read and write buffer sizes. Due to interaction between common transfer...
[kugel-rb.git] / firmware / export / config-iaudio7.h
blob8886b18633f6901d1f7259b22c95b654e965e38b
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 to enable bitmap scaling */
46 #define HAVE_BMP_SCALING
48 /* define this to enable JPEG decoding */
49 #define HAVE_JPEG
51 /* define this if you have access to the quickscreen */
52 #define HAVE_QUICKSCREEN
54 /* define this if you have access to the pitchscreen */
55 #define HAVE_PITCHSCREEN
57 /* define this if you have LCD enable function */
58 #define HAVE_LCD_ENABLE
60 /* define this if you would like tagcache to build on this target */
61 #define HAVE_TAGCACHE
63 #define HAVE_FAT16SUPPORT
65 #if 0 && !defined(SIMULATOR) /* Enable for USB driver test */
66 #define HAVE_USBSTACK
67 #define USB_VENDOR_ID 0x0e21
68 #define USB_PRODUCT_ID 0x0750
70 #define USB_STORAGE
71 #define USB_SERIAL
72 #endif
74 /* define this if you have a flash memory storage */
75 #define HAVE_FLASH_STORAGE
77 #define CONFIG_STORAGE STORAGE_NAND
79 #define CONFIG_NAND NAND_TCC
81 /* LCD dimensions */
82 #define LCD_WIDTH 160
83 #define LCD_HEIGHT 128
84 /* 16bits for now... */
85 #define LCD_DEPTH 16 /* 262144 colours */
86 #define LCD_PIXELFORMAT RGB565 /*rgb565*/
88 /*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
90 /* define this to indicate your device's keypad */
91 #define CONFIG_KEYPAD IAUDIO67_PAD
93 /* #define HAVE_BUTTON_DATA */
95 /* define this if you have a real-time clock */
96 #define CONFIG_RTC RTC_PCF50606
98 /* define this if you have RTC RAM available for settings */
99 //#define HAVE_RTC_RAM
101 /* Define this if you have a software controlled poweroff */
102 #define HAVE_SW_POWEROFF
104 /* Reduce Tremor's ICODE usage */
105 #define ICODE_ATTR_TREMOR_NOT_MDCT
107 /* The number of bytes reserved for loadable codecs */
108 #define CODEC_SIZE 0x100000
110 /* The number of bytes reserved for loadable plugins */
111 #define PLUGIN_BUFFER_SIZE 0x80000
113 #define AB_REPEAT_ENABLE 1
115 /* Define this if you do software codec */
116 #define CONFIG_CODEC SWCODEC
118 /* The iaudio7 uses built-in WM8731 codec */
119 #define HAVE_WM8731
120 /* Codec is slave on serial bus */
121 #define CODEC_SLAVE
123 /* WM8731 has no tone controls, so we use the software ones */
124 #define HAVE_SW_TONE_CONTROLS
126 /* Define this for LCD backlight available */
127 #define HAVE_BACKLIGHT
129 #define CONFIG_I2C I2C_TCC77X
131 #define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
132 #define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
133 #define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
134 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
135 #define BATTERY_TYPES_COUNT 1 /* only one type */
137 #define CONFIG_CHARGING CHARGING_SIMPLE
139 #ifndef SIMULATOR
141 /* Define this if you have a TCC770 */
142 #define CONFIG_CPU TCC770
144 /* Define this if you have ATA power-off control */
145 #define HAVE_ATA_POWER_OFF
147 /* Define this to the CPU frequency */
148 #define CPU_FREQ 120000000
150 /* Offset ( in the firmware file's header ) to the file CRC */
151 #define FIRMWARE_OFFSET_FILE_CRC 0
153 /* Offset ( in the firmware file's header ) to the real data */
154 #define FIRMWARE_OFFSET_FILE_DATA 8
156 /* Software controlled LED */
157 #define CONFIG_LED LED_VIRTUAL
159 #define CONFIG_LCD LCD_IAUDIO67
161 #define BOOTFILE_EXT "iaudio"
162 #define BOOTFILE "rockbox." BOOTFILE_EXT
163 #define BOOTDIR "/.rockbox"
165 #ifdef BOOTLOADER
166 #define TCCBOOT
167 #endif
168 #endif /* SIMULATOR */