diff options
author | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:03:11 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:03:11 +0000 |
commit | 66fa5b578904f7df61293d6ce5c08966b5db13db (patch) | |
tree | 5db57c13d5b23e76793b60bbc48579ac24da1550 /firmware/export/config-iaudiox5.h | |
parent | 7b70046e7ab7329d93f800fe4b074fabff998a0e (diff) | |
download | rockbox-66fa5b578904f7df61293d6ce5c08966b5db13db.tar.gz rockbox-66fa5b578904f7df61293d6ce5c08966b5db13db.zip |
Rename targets to be consistent in all places. (FS #10819)
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23881 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-iaudiox5.h')
-rw-r--r-- | firmware/export/config-iaudiox5.h | 206 |
1 files changed, 0 insertions, 206 deletions
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h deleted file mode 100644 index 0cf39325a4..0000000000 --- a/firmware/export/config-iaudiox5.h +++ /dev/null | |||
@@ -1,206 +0,0 @@ | |||
1 | /* | ||
2 | * This config file is for iAudio X5 | ||
3 | */ | ||
4 | #define TARGET_TREE /* this target is using the target tree system */ | ||
5 | |||
6 | /* For Rolo and boot loader */ | ||
7 | #define MODEL_NUMBER 10 | ||
8 | |||
9 | #define MODEL_NAME "iAudio X5" | ||
10 | |||
11 | /* define this if you use an ATA controller */ | ||
12 | #define CONFIG_STORAGE STORAGE_ATA | ||
13 | |||
14 | /* define this if you have recording possibility */ | ||
15 | #define HAVE_RECORDING | ||
16 | |||
17 | /* Define bitmask of input sources - recordable bitmask can be defined | ||
18 | explicitly if different */ | ||
19 | #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO) | ||
20 | |||
21 | /* define the bitmask of hardware sample rates */ | ||
22 | #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) | ||
23 | |||
24 | /* define the bitmask of recording sample rates */ | ||
25 | #define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) | ||
26 | |||
27 | /* define this if you have a bitmap LCD display */ | ||
28 | #define HAVE_LCD_BITMAP | ||
29 | |||
30 | /* define this if you can flip your LCD */ | ||
31 | #define HAVE_LCD_FLIP | ||
32 | |||
33 | /* define this if you have a colour LCD */ | ||
34 | #define HAVE_LCD_COLOR | ||
35 | |||
36 | /* define this if you want album art for this target */ | ||
37 | #define HAVE_ALBUMART | ||
38 | |||
39 | /* define this to enable bitmap scaling */ | ||
40 | #define HAVE_BMP_SCALING | ||
41 | |||
42 | /* define this to enable JPEG decoding */ | ||
43 | #define HAVE_JPEG | ||
44 | |||
45 | /* define this if you can invert the colours on your LCD */ | ||
46 | #define HAVE_LCD_INVERT | ||
47 | |||
48 | /* define this if you have access to the quickscreen */ | ||
49 | #define HAVE_QUICKSCREEN | ||
50 | |||
51 | /* define this if you have access to the pitchscreen */ | ||
52 | #define HAVE_PITCHSCREEN | ||
53 | |||
54 | /* define this if you would like tagcache to build on this target */ | ||
55 | #define HAVE_TAGCACHE | ||
56 | |||
57 | /* LCD dimensions */ | ||
58 | #define LCD_WIDTH 160 | ||
59 | #define LCD_HEIGHT 128 | ||
60 | #define LCD_DEPTH 16 /* pseudo 262.144 colors */ | ||
61 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | ||
62 | |||
63 | /* remote LCD */ | ||
64 | #define LCD_REMOTE_WIDTH 128 | ||
65 | #define LCD_REMOTE_HEIGHT 96 | ||
66 | #define LCD_REMOTE_DEPTH 2 | ||
67 | |||
68 | #define LCD_REMOTE_PIXELFORMAT VERTICAL_INTERLEAVED | ||
69 | |||
70 | /* Remote display colours, for screenshots and sim (0xRRGGBB) */ | ||
71 | #define LCD_REMOTE_DARKCOLOR 0x000000 | ||
72 | #define LCD_REMOTE_BRIGHTCOLOR 0x5a915a | ||
73 | #define LCD_REMOTE_BL_DARKCOLOR 0x000000 | ||
74 | #define LCD_REMOTE_BL_BRIGHTCOLOR 0x82b4fa | ||
75 | |||
76 | #ifndef BOOTLOADER | ||
77 | /* Define this if your LCD can be enabled/disabled */ | ||
78 | #define HAVE_LCD_ENABLE | ||
79 | |||
80 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
81 | should be defined as well. */ | ||
82 | #define HAVE_LCD_SLEEP | ||
83 | #define HAVE_LCD_SLEEP_SETTING | ||
84 | #endif | ||
85 | |||
86 | #define CONFIG_KEYPAD IAUDIO_X5M5_PAD | ||
87 | |||
88 | #define AB_REPEAT_ENABLE 1 | ||
89 | #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE | ||
90 | |||
91 | /* Define this if you do software codec */ | ||
92 | #define CONFIG_CODEC SWCODEC | ||
93 | |||
94 | /* define this if you have a real-time clock */ | ||
95 | #define CONFIG_RTC RTC_PCF50606 | ||
96 | |||
97 | /* Define this if you have an remote lcd */ | ||
98 | #define HAVE_REMOTE_LCD | ||
99 | |||
100 | #define CONFIG_LCD LCD_X5 | ||
101 | |||
102 | /* Define this for LCD backlight available */ | ||
103 | #define HAVE_BACKLIGHT | ||
104 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
105 | /* Which backlight fading type? */ | ||
106 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_HW_REG | ||
107 | |||
108 | /* define this if you have a disk storage, i.e. something | ||
109 | that needs spinups and can cause skips when shaked */ | ||
110 | #define HAVE_DISK_STORAGE | ||
111 | |||
112 | /* Define this if you have a software controlled poweroff */ | ||
113 | #define HAVE_SW_POWEROFF | ||
114 | |||
115 | /* The number of bytes reserved for loadable codecs */ | ||
116 | #define CODEC_SIZE 0x100000 | ||
117 | |||
118 | /* The number of bytes reserved for loadable plugins */ | ||
119 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
120 | |||
121 | /* FM Tuner */ | ||
122 | #define CONFIG_TUNER TEA5767 | ||
123 | #define CONFIG_TUNER_XTAL 32768 | ||
124 | |||
125 | #define HAVE_TLV320 | ||
126 | |||
127 | /* TLV320 has no tone controls, so we use the software ones */ | ||
128 | #define HAVE_SW_TONE_CONTROLS | ||
129 | |||
130 | #define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */ | ||
131 | #define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */ | ||
132 | #define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */ | ||
133 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
134 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
135 | |||
136 | /* Hardware controlled charging? FIXME */ | ||
137 | #define CONFIG_CHARGING CHARGING_SIMPLE | ||
138 | |||
139 | /* define current usage levels */ | ||
140 | #define CURRENT_REMOTE 8 /* additional current when remote connected */ | ||
141 | |||
142 | #ifndef SIMULATOR | ||
143 | |||
144 | /* Define this if your LCD can set contrast */ | ||
145 | #define HAVE_LCD_CONTRAST | ||
146 | |||
147 | /* Define this if you have a Motorola SCF5250 */ | ||
148 | #define CONFIG_CPU MCF5250 | ||
149 | |||
150 | /* Define this if you want to use coldfire's i2c interface */ | ||
151 | #define CONFIG_I2C I2C_COLDFIRE | ||
152 | |||
153 | /* define this if the hardware can be powered off while charging */ | ||
154 | #define HAVE_POWEROFF_WHILE_CHARGING | ||
155 | |||
156 | /* The size of the flash ROM */ | ||
157 | #define FLASH_SIZE 0x400000 | ||
158 | |||
159 | /* Define this to the CPU frequency */ | ||
160 | #define CPU_FREQ 11289600 | ||
161 | |||
162 | /* Define this if you have ATA power-off control */ | ||
163 | #define HAVE_ATA_POWER_OFF | ||
164 | |||
165 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
166 | #define FIRMWARE_OFFSET_FILE_CRC 0 | ||
167 | |||
168 | /* Offset ( in the firmware file's header ) to the real data */ | ||
169 | #define FIRMWARE_OFFSET_FILE_DATA 8 | ||
170 | |||
171 | /* USB On-the-go */ | ||
172 | #define CONFIG_USBOTG USBOTG_M5636 | ||
173 | |||
174 | /* Define this if you have adjustable CPU frequency */ | ||
175 | #define HAVE_ADJUSTABLE_CPU_FREQ | ||
176 | |||
177 | #define BOOTFILE_EXT "iaudio" | ||
178 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
179 | #define BOOTDIR "/.rockbox" | ||
180 | |||
181 | #define BOOTLOADER_ENTRYPOINT 0x001F0000 | ||
182 | #define FLASH_ENTRYPOINT 0x00001000 | ||
183 | #define FLASH_MAGIC 0xfbfbfbf1 | ||
184 | |||
185 | #endif /* SIMULATOR */ | ||
186 | |||
187 | /* Define this for FM radio input available */ | ||
188 | #define HAVE_FMRADIO_IN | ||
189 | |||
190 | /** Port-specific settings **/ | ||
191 | |||
192 | /* Main LCD contrast range and defaults */ | ||
193 | #define MIN_CONTRAST_SETTING 1 | ||
194 | #define MAX_CONTRAST_SETTING 30 | ||
195 | #define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */ | ||
196 | |||
197 | /* Main LCD backlight brightness range and defaults */ | ||
198 | /* PCF50506 can output 0%-100% duty cycle but D305A expects %15-100%. */ | ||
199 | #define MIN_BRIGHTNESS_SETTING 1 /* 15/16 (93.75%) */ | ||
200 | #define MAX_BRIGHTNESS_SETTING 13 /* 3/16 (18.75%) */ | ||
201 | #define DEFAULT_BRIGHTNESS_SETTING 8 /* 8/16 (50.00%) = x5 boot default */ | ||
202 | |||
203 | /* Remote LCD contrast range and defaults */ | ||
204 | #define MIN_REMOTE_CONTRAST_SETTING 10 | ||
205 | #define MAX_REMOTE_CONTRAST_SETTING 35 | ||
206 | #define DEFAULT_REMOTE_CONTRAST_SETTING 24 /* Match boot contrast */ | ||