summaryrefslogtreecommitdiff
path: root/firmware/export/config/iriverh100.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2009-12-07 09:03:11 +0000
committerBjörn Stenberg <bjorn@haxx.se>2009-12-07 09:03:11 +0000
commit66fa5b578904f7df61293d6ce5c08966b5db13db (patch)
tree5db57c13d5b23e76793b60bbc48579ac24da1550 /firmware/export/config/iriverh100.h
parent7b70046e7ab7329d93f800fe4b074fabff998a0e (diff)
downloadrockbox-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/iriverh100.h')
-rw-r--r--firmware/export/config/iriverh100.h217
1 files changed, 217 insertions, 0 deletions
diff --git a/firmware/export/config/iriverh100.h b/firmware/export/config/iriverh100.h
new file mode 100644
index 0000000000..f06aaf8335
--- /dev/null
+++ b/firmware/export/config/iriverh100.h
@@ -0,0 +1,217 @@
1#define TARGET_TREE /* this target is using the target tree system */
2
3/*
4 * This config file is for iriver iHP-100, iHP-110, iHP-115
5 */
6#define IRIVER_H100_SERIES 1
7
8#define MODEL_NAME "iriver iHP-100 series"
9
10/* For Rolo and boot loader */
11#define MODEL_NUMBER 1
12
13/* define this if you use an ATA controller */
14#define CONFIG_STORAGE STORAGE_ATA
15
16/* define this if you have a bitmap LCD display */
17#define HAVE_LCD_BITMAP
18
19/* define this if you want album art for this target */
20#define HAVE_ALBUMART
21
22/* define this to enable bitmap scaling */
23#define HAVE_BMP_SCALING
24
25/* define this to enable JPEG decoding */
26#define HAVE_JPEG
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/* define this if you have access to the pitchscreen */
37#define HAVE_PITCHSCREEN
38
39/* define this if you would like tagcache to build on this target */
40#define HAVE_TAGCACHE
41
42/* LCD dimensions */
43#define LCD_WIDTH 160
44#define LCD_HEIGHT 128
45#define LCD_DEPTH 2
46
47#define LCD_PIXELFORMAT VERTICAL_PACKING
48
49/* Display colours, for screenshots and sim (0xRRGGBB) */
50#define LCD_DARKCOLOR 0x000000
51#define LCD_BRIGHTCOLOR 0x5a915a
52#define LCD_BL_DARKCOLOR 0x000000
53#define LCD_BL_BRIGHTCOLOR 0xadd8e6
54
55/* remote LCD */
56#define LCD_REMOTE_WIDTH 128
57#define LCD_REMOTE_HEIGHT 64
58#define LCD_REMOTE_DEPTH 1
59
60#define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
61
62/* Remote display colours, for screenshots and sim (0xRRGGBB) */
63#define LCD_REMOTE_DARKCOLOR 0x000000
64#define LCD_REMOTE_BRIGHTCOLOR 0x5a915a
65#define LCD_REMOTE_BL_DARKCOLOR 0x000000
66#define LCD_REMOTE_BL_BRIGHTCOLOR 0x82b4fa
67
68#define CONFIG_KEYPAD IRIVER_H100_PAD
69
70#define CONFIG_REMOTE_KEYPAD H100_REMOTE
71
72/* Define this if you do software codec */
73#define CONFIG_CODEC SWCODEC
74
75/* Define this if you have an remote lcd */
76#define HAVE_REMOTE_LCD
77
78/* Define if we have a hardware defect that causes ticking on the audio line */
79#define HAVE_REMOTE_LCD_TICKING
80
81#define CONFIG_LCD LCD_S1D15E06
82
83/* define this if you have a disk storage, i.e. something
84 that needs spinups and can cause skips when shaked */
85#define HAVE_DISK_STORAGE
86
87/* Define this for LCD backlight available */
88#define HAVE_BACKLIGHT
89
90/* We can fade the backlight by using PWM */
91#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM
92
93/* Define this if you have a software controlled poweroff */
94#define HAVE_SW_POWEROFF
95
96/* The number of bytes reserved for loadable codecs */
97#define CODEC_SIZE 0x100000
98
99/* The number of bytes reserved for loadable plugins */
100#define PLUGIN_BUFFER_SIZE 0x80000
101
102#define AB_REPEAT_ENABLE 1
103
104#define CONFIG_TUNER TEA5767
105#define CONFIG_TUNER_XTAL 32768
106
107#define HAVE_UDA1380
108
109/* define this if you have recording possibility */
110#define HAVE_RECORDING
111
112/* define hardware samples rate caps mask */
113#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
114
115/* define the bitmask of recording sample rates */
116#define REC_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
117
118#define HAVE_AGC
119
120#define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */
121#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
122#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
123#define BATTERY_CAPACITY_INC 50 /* capacity increment */
124#define BATTERY_TYPES_COUNT 1 /* only one type */
125
126/* Hardware controlled charging */
127#define CONFIG_CHARGING CHARGING_SIMPLE
128
129/* define current usage levels */
130#define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery */
131#define CURRENT_BACKLIGHT 23 /* from IriverBattery twiki page */
132#define CURRENT_SPDIF_OUT 10 /* optical SPDIF output on */
133#define CURRENT_RECORD 105 /* additional current while recording */
134#define CURRENT_REMOTE 8 /* additional current when remote connected */
135
136#ifndef SIMULATOR
137
138/* Define this if you have a Motorola SCF5249 */
139#define CONFIG_CPU MCF5249
140
141/* Define this if you want to use coldfire's i2c interface */
142#define CONFIG_I2C I2C_COLDFIRE
143
144/* Define this if you can run rockbox from flash memory */
145/* In theory we can, but somebody needs to verify there are no issues. */
146#define HAVE_FLASHED_ROCKBOX
147
148/* define this if the hardware can be powered off while charging */
149#define HAVE_POWEROFF_WHILE_CHARGING
150
151/* The size of the flash ROM */
152#define FLASH_SIZE 0x200000
153
154/* Define this to the CPU frequency */
155#define CPU_FREQ 11289600
156
157/* Define this if you have ATA power-off control */
158#define HAVE_ATA_POWER_OFF
159
160/* Offset ( in the firmware file's header ) to the file CRC */
161#define FIRMWARE_OFFSET_FILE_CRC 0
162
163/* Offset ( in the firmware file's header ) to the real data */
164#define FIRMWARE_OFFSET_FILE_DATA 8
165
166#define HAVE_ATA_LED_CTRL
167
168/* Define this if you have adjustable CPU frequency */
169#define HAVE_ADJUSTABLE_CPU_FREQ
170
171#define BOOTFILE_EXT "iriver"
172#define BOOTFILE "rockbox." BOOTFILE_EXT
173#define BOOTDIR "/.rockbox"
174
175#define BOOTLOADER_ENTRYPOINT 0x001F0000
176#define FLASH_RAMIMAGE_ENTRY 0x00001000
177#define FLASH_ROMIMAGE_ENTRY 0x00100000
178#define FLASH_MAGIC 0xfbfbfbf2
179
180/* Define this if there is an EEPROM chip */
181#define HAVE_EEPROM
182
183/* Define this if the EEPROM chip is used */
184#define HAVE_EEPROM_SETTINGS
185
186#endif /* !SIMULATOR */
187
188/* Define bitmask of input sources - recordable bitmask can be defined
189 explicitly if different */
190#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | \
191 SRC_CAP_FMRADIO | SRC_CAP_SPDIF)
192
193/* Define this for S/PDIF output available */
194#define HAVE_SPDIF_OUT
195
196/* Define this if you can control the S/PDIF power */
197#define HAVE_SPDIF_POWER
198#define SPDIF_POWER_INVERTED
199
200/* Define this for FM radio input available */
201#define HAVE_FMRADIO_IN
202
203/** Port-specific settings **/
204
205#define HAVE_LCD_CONTRAST
206
207/* Main LCD backlight brightness range and defaults */
208#define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */
209#define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */
210#define DEFAULT_CONTRAST_SETTING 27
211
212/* Remote LCD contrast range and defaults */
213#define MIN_REMOTE_CONTRAST_SETTING 5
214#define MAX_REMOTE_CONTRAST_SETTING 63
215#define DEFAULT_REMOTE_CONTRAST_SETTING 42
216
217#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */