summaryrefslogtreecommitdiff
path: root/firmware/export/config/iaudio7.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/iaudio7.h')
-rw-r--r--firmware/export/config/iaudio7.h165
1 files changed, 165 insertions, 0 deletions
diff --git a/firmware/export/config/iaudio7.h b/firmware/export/config/iaudio7.h
new file mode 100644
index 0000000000..68393f1293
--- /dev/null
+++ b/firmware/export/config/iaudio7.h
@@ -0,0 +1,165 @@
1/*
2 * This config file is for the Iaudio7 series
3 */
4#define TARGET_TREE /* this target is using the target tree system */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 32
8#define MODEL_NAME "Cowon iAudio7"
9
10/* define this if you have recording possibility */
11#define HAVE_RECORDING
12
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)
16
17/* FM Tuner */
18#define CONFIG_TUNER LV24020LP
19#define HAVE_TUNER_PWR_CTRL
20
21/* Define this for FM radio input available */
22#define HAVE_FMRADIO_IN
23
24/* define hardware samples rate caps mask */
25#define HW_SAMPR_CAPS (/*SAMPR_CAP_88 | */SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
26
27/* define the bitmask of recording sample rates */
28#define REC_SAMPR_CAPS (SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
29
30/* define this if you have a bitmap LCD display */
31#define HAVE_LCD_BITMAP
32
33/* define this if you have a colour LCD */
34#define HAVE_LCD_COLOR
35
36/* define this if you can flip your LCD */
37//#define HAVE_LCD_FLIP
38
39/* define this if you can invert the colours on your LCD */
40//#define HAVE_LCD_INVERT
41
42/* define this if you want album art for this target */
43#define HAVE_ALBUMART
44
45/* define this to enable bitmap scaling */
46#define HAVE_BMP_SCALING
47
48/* define this to enable JPEG decoding */
49#define HAVE_JPEG
50
51/* define this if you have access to the quickscreen */
52#define HAVE_QUICKSCREEN
53
54/* define this if you have access to the pitchscreen */
55#define HAVE_PITCHSCREEN
56
57/* define this if you have LCD enable function */
58#define HAVE_LCD_ENABLE
59
60/* define this if you would like tagcache to build on this target */
61#define HAVE_TAGCACHE
62
63#define HAVE_FAT16SUPPORT
64
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
69#endif
70
71/* define this if you have a flash memory storage */
72#define HAVE_FLASH_STORAGE
73
74#define CONFIG_STORAGE STORAGE_NAND
75
76#define CONFIG_NAND NAND_TCC
77
78/* LCD dimensions */
79#define LCD_WIDTH 160
80#define LCD_HEIGHT 128
81/* 16bits for now... */
82#define LCD_DEPTH 16 /* 262144 colours */
83#define LCD_PIXELFORMAT RGB565 /*rgb565*/
84
85/*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
86
87/* define this to indicate your device's keypad */
88#define CONFIG_KEYPAD IAUDIO67_PAD
89
90/* #define HAVE_BUTTON_DATA */
91
92/* define this if you have a real-time clock */
93#define CONFIG_RTC RTC_PCF50606
94
95/* define this if you have RTC RAM available for settings */
96//#define HAVE_RTC_RAM
97
98/* Define this if you have a software controlled poweroff */
99#define HAVE_SW_POWEROFF
100
101/* Reduce Tremor's ICODE usage */
102#define ICODE_ATTR_TREMOR_NOT_MDCT
103
104/* The number of bytes reserved for loadable codecs */
105#define CODEC_SIZE 0x100000
106
107/* The number of bytes reserved for loadable plugins */
108#define PLUGIN_BUFFER_SIZE 0x80000
109
110#define AB_REPEAT_ENABLE 1
111
112/* Define this if you do software codec */
113#define CONFIG_CODEC SWCODEC
114
115/* The iaudio7 uses built-in WM8731 codec */
116#define HAVE_WM8731
117/* Codec is slave on serial bus */
118#define CODEC_SLAVE
119
120/* WM8731 has no tone controls, so we use the software ones */
121#define HAVE_SW_TONE_CONTROLS
122
123/* Define this for LCD backlight available */
124#define HAVE_BACKLIGHT
125
126#define CONFIG_I2C I2C_TCC77X
127
128#define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
129#define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
130#define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
131#define BATTERY_CAPACITY_INC 50 /* capacity increment */
132#define BATTERY_TYPES_COUNT 1 /* only one type */
133
134#define CONFIG_CHARGING CHARGING_SIMPLE
135
136#ifndef SIMULATOR
137
138/* Define this if you have a TCC770 */
139#define CONFIG_CPU TCC770
140
141/* Define this if you have ATA power-off control */
142#define HAVE_ATA_POWER_OFF
143
144/* Define this to the CPU frequency */
145#define CPU_FREQ 120000000
146
147/* Offset ( in the firmware file's header ) to the file CRC */
148#define FIRMWARE_OFFSET_FILE_CRC 0
149
150/* Offset ( in the firmware file's header ) to the real data */
151#define FIRMWARE_OFFSET_FILE_DATA 8
152
153#define CONFIG_LCD LCD_IAUDIO67
154
155#define BOOTFILE_EXT "iaudio"
156#define BOOTFILE "rockbox." BOOTFILE_EXT
157#define BOOTDIR "/.rockbox"
158
159#ifdef BOOTLOADER
160#define TCCBOOT
161#endif
162
163#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
164
165#endif /* SIMULATOR */