TARGET_TREE is not needed anymore
[maemo-rb.git] / firmware / export / config / iaudio7.h
blob4bf464914dc9cc5eab478c17cf4a4546fc0e9878
1 /*
2 * This config file is for the Iaudio7 series
3 */
5 /* For Rolo and boot loader */
6 #define MODEL_NUMBER 32
7 #define MODEL_NAME "Cowon iAudio7"
9 /* define this if you have recording possibility */
10 #define HAVE_RECORDING
12 /* Define bitmask of input sources - recordable bitmask can be defined
13 explicitly if different */
14 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
16 /* FM Tuner */
17 #define CONFIG_TUNER LV24020LP
18 #define HAVE_TUNER_PWR_CTRL
20 /* Define this for FM radio input available */
21 #define HAVE_FMRADIO_IN
23 /* define hardware samples rate caps mask */
24 #define HW_SAMPR_CAPS (/*SAMPR_CAP_88 | */SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
26 /* define the bitmask of recording sample rates */
27 #define REC_SAMPR_CAPS (SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
29 /* define this if you have a bitmap LCD display */
30 #define HAVE_LCD_BITMAP
32 /* define this if you have a colour LCD */
33 #define HAVE_LCD_COLOR
35 /* define this if you can flip your LCD */
36 //#define HAVE_LCD_FLIP
38 /* define this if you can invert the colours on your LCD */
39 //#define HAVE_LCD_INVERT
41 /* define this if you want album art for this target */
42 #define HAVE_ALBUMART
44 /* define this to enable bitmap scaling */
45 #define HAVE_BMP_SCALING
47 /* define this to enable JPEG decoding */
48 #define HAVE_JPEG
50 /* define this if you have access to the quickscreen */
51 #define HAVE_QUICKSCREEN
53 /* define this if you have access to the pitchscreen */
54 #define HAVE_PITCHSCREEN
56 /* define this if you have LCD enable function */
57 #define HAVE_LCD_ENABLE
59 /* define this if you would like tagcache to build on this target */
60 #define HAVE_TAGCACHE
62 #define HAVE_FAT16SUPPORT
64 #if 0 && !defined(SIMULATOR) /* Enable for USB driver test */
65 #define HAVE_USBSTACK
66 #define USB_VENDOR_ID 0x0e21
67 #define USB_PRODUCT_ID 0x0750
68 #endif
70 /* define this if you have a flash memory storage */
71 #define HAVE_FLASH_STORAGE
73 #define CONFIG_STORAGE STORAGE_NAND
75 #define CONFIG_NAND NAND_TCC
77 /* LCD dimensions */
78 #define LCD_WIDTH 160
79 #define LCD_HEIGHT 128
80 /* 16bits for now... */
81 #define LCD_DEPTH 16 /* 262144 colours */
82 #define LCD_PIXELFORMAT RGB565 /*rgb565*/
84 /*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
86 /* define this to indicate your device's keypad */
87 #define CONFIG_KEYPAD IAUDIO67_PAD
89 /* #define HAVE_BUTTON_DATA */
91 /* define this if you have a real-time clock */
92 #define CONFIG_RTC RTC_PCF50606
94 /* define this if you have RTC RAM available for settings */
95 //#define HAVE_RTC_RAM
97 /* Define this if you have a software controlled poweroff */
98 #define HAVE_SW_POWEROFF
100 /* Reduce Tremor's ICODE usage */
101 #define ICODE_ATTR_TREMOR_NOT_MDCT
103 /* The number of bytes reserved for loadable codecs */
104 #define CODEC_SIZE 0x100000
106 /* The number of bytes reserved for loadable plugins */
107 #define PLUGIN_BUFFER_SIZE 0x80000
109 #define AB_REPEAT_ENABLE
111 /* Define this if you do software codec */
112 #define CONFIG_CODEC SWCODEC
114 /* The iaudio7 uses built-in WM8731 codec */
115 #define HAVE_WM8731
116 /* Codec is slave on serial bus */
117 #define CODEC_SLAVE
119 /* WM8731 has no tone controls, so we use the software ones */
120 #define HAVE_SW_TONE_CONTROLS
122 /* Define this for LCD backlight available */
123 #define HAVE_BACKLIGHT
125 #define CONFIG_I2C I2C_TCC77X
127 #define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
128 #define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
129 #define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
130 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
131 #define BATTERY_TYPES_COUNT 1 /* only one type */
133 #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
135 #define CONFIG_CHARGING CHARGING_SIMPLE
137 /* Define this if you have a TCC770 */
138 #define CONFIG_CPU TCC770
140 /* Define this if you have ATA power-off control */
141 #define HAVE_ATA_POWER_OFF
143 /* Define this to the CPU frequency */
144 #define CPU_FREQ 120000000
146 /* Offset ( in the firmware file's header ) to the file CRC */
147 #define FIRMWARE_OFFSET_FILE_CRC 0
149 /* Offset ( in the firmware file's header ) to the real data */
150 #define FIRMWARE_OFFSET_FILE_DATA 8
152 #define CONFIG_LCD LCD_IAUDIO67
154 #define BOOTFILE_EXT "iaudio"
155 #define BOOTFILE "rockbox." BOOTFILE_EXT
156 #define BOOTDIR "/.rockbox"
158 #ifdef BOOTLOADER
159 #define TCCBOOT
160 #endif
162 #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
164 /* Define this if a programmable hotkey is mapped */
165 //#define HAVE_HOTKEY