summaryrefslogtreecommitdiff
path: root/firmware/export/config-iaudio7.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-09-06 17:50:59 +0000
committerDave Chapman <dave@dchapman.com>2008-09-06 17:50:59 +0000
commitd462a64a918117991e11dade2d7fa3a28196e07a (patch)
tree0a6f5ed8777b18bb1641fbb3608f10374901706c /firmware/export/config-iaudio7.h
parentb87715f670f04c9adbe358c32a385c6771d99a81 (diff)
downloadrockbox-d462a64a918117991e11dade2d7fa3a28196e07a.tar.gz
rockbox-d462a64a918117991e11dade2d7fa3a28196e07a.zip
Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18435 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-iaudio7.h')
-rw-r--r--firmware/export/config-iaudio7.h163
1 files changed, 163 insertions, 0 deletions
diff --git a/firmware/export/config-iaudio7.h b/firmware/export/config-iaudio7.h
new file mode 100644
index 0000000000..8bc73fa41c
--- /dev/null
+++ b/firmware/export/config-iaudio7.h
@@ -0,0 +1,163 @@
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
9/* define this if you have recording possibility */
10#define HAVE_RECORDING
11
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)
15
16/* define hardware samples rate caps mask */
17#define HW_SAMPR_CAPS (/*SAMPR_CAP_88 | */SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
18
19/* define the bitmask of recording sample rates */
20#define REC_SAMPR_CAPS (SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
21
22/* define this if you have a bitmap LCD display */
23#define HAVE_LCD_BITMAP
24
25/* define this if you have a colour LCD */
26#define HAVE_LCD_COLOR
27
28/* define this if you can flip your LCD */
29//#define HAVE_LCD_FLIP
30
31/* define this if you can invert the colours on your LCD */
32//#define HAVE_LCD_INVERT
33
34/* define this if you have access to the quickscreen */
35#define HAVE_QUICKSCREEN
36
37/* define this if you have access to the pitchscreen */
38#define HAVE_PITCHSCREEN
39
40/* define this if you have LCD enable function */
41#define HAVE_LCD_ENABLE
42
43/* define this if you would like tagcache to build on this target */
44#define HAVE_TAGCACHE
45
46#define HAVE_FAT16SUPPORT
47
48#if 0 /* Enable for USB driver test */
49#define HAVE_USBSTACK
50#define USE_HIGH_SPEED
51#define USB_VENDOR_ID 0x0e21
52#define USB_PRODUCT_ID 0x0750
53
54#define USB_STORAGE
55#define USB_SERIAL
56#endif
57
58/* define this if you have a flash memory storage */
59#define HAVE_FLASH_STORAGE
60
61/* LCD dimensions */
62#define LCD_WIDTH 160
63#define LCD_HEIGHT 128
64/* 16bits for now... */
65#define LCD_DEPTH 16 /* 262144 colours */
66#define LCD_PIXELFORMAT RGB565 /*rgb565*/
67
68/*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
69
70/* define this to indicate your device's keypad */
71#define CONFIG_KEYPAD IAUDIO67_PAD
72
73/* #define HAVE_BUTTON_DATA */
74
75/* define this if you have a real-time clock */
76#define CONFIG_RTC RTC_PCF50606
77
78/* define this if you have RTC RAM available for settings */
79//#define HAVE_RTC_RAM
80
81/* Define this if you have a software controlled poweroff */
82#define HAVE_SW_POWEROFF
83
84/* Reduce Tremor's ICODE usage */
85#define ICODE_ATTR_TREMOR_NOT_MDCT
86
87/* The number of bytes reserved for loadable codecs */
88#define CODEC_SIZE 0x80000
89
90/* The number of bytes reserved for loadable plugins */
91#define PLUGIN_BUFFER_SIZE 0x80000
92
93#define AB_REPEAT_ENABLE 1
94
95/* Define this if you do software codec */
96#define CONFIG_CODEC SWCODEC
97
98/* The iaudio7 uses built-in WM8731 codec */
99#define HAVE_WM8731
100/* Codec is slave on serial bus */
101#define CODEC_SLAVE
102
103/* Define this if you have the TLV320 audio codec */
104//#define HAVE_TLV320
105
106/* TLV320 has no tone controls, so we use the software ones */
107//#define HAVE_SW_TONE_CONTROLS
108
109/* Define this for LCD backlight available */
110#define HAVE_BACKLIGHT
111
112#define CONFIG_I2C I2C_TCC77X
113
114#define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
115#define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
116#define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
117#define BATTERY_CAPACITY_INC 50 /* capacity increment */
118#define BATTERY_TYPES_COUNT 1 /* only one type */
119
120/* define this if the unit should not shut down on low battery. */
121#define NO_LOW_BATTERY_SHUTDOWN
122#define CONFIG_CHARGING CHARGING_SIMPLE
123
124#ifndef SIMULATOR
125
126/* Define this if you have a TCC770 */
127#define CONFIG_CPU TCC770
128
129/* Define this if you have ATA power-off control */
130#define HAVE_ATA_POWER_OFF
131
132/* Define this to the CPU frequency */
133#define CPU_FREQ 120000000
134
135/* Offset ( in the firmware file's header ) to the file length */
136//#define FIRMWARE_OFFSET_FILE_LENGTH 0
137
138/* Offset ( in the firmware file's header ) to the file CRC */
139#define FIRMWARE_OFFSET_FILE_CRC 0
140
141/* Offset ( in the firmware file's header ) to the real data */
142#define FIRMWARE_OFFSET_FILE_DATA 8
143
144/* Software controlled LED */
145#define CONFIG_LED LED_VIRTUAL
146
147#define CONFIG_LCD LCD_IAUDIO67
148
149/* FM Tuner */
150#define CONFIG_TUNER LV24020LP
151#define HAVE_TUNER_PWR_CTRL
152
153/* Define this for FM radio input available */
154#define HAVE_FMRADIO_IN
155
156#define BOOTFILE_EXT "iaudio"
157#define BOOTFILE "rockbox." BOOTFILE_EXT
158#define BOOTDIR "/"
159
160#ifdef BOOTLOADER
161#define TCCBOOT
162#endif
163#endif /* SIMULATOR */