1 #if defined(MEM) && (MEM > 16)
2 #error "re-run configure this just so wrong"
5 #define TARGET_TREE /* this target is using the target tree system */
8 * This config file is for iriver iHP-100, iHP-110, iHP-115
10 #define IRIVER_H100_SERIES 1
12 #define MODEL_NAME "iriver iHP-100 series"
14 /* For Rolo and boot loader */
15 #define MODEL_NUMBER 1
17 /* define this if you use an ATA controller */
18 #define CONFIG_STORAGE STORAGE_ATA
20 /* define this if you have a bitmap LCD display */
21 #define HAVE_LCD_BITMAP
23 /* define this if you want album art for this target */
26 /* define this if you can flip your LCD */
29 /* define this if you can invert the colours on your LCD */
30 #define HAVE_LCD_INVERT
32 /* define this if you have access to the quickscreen */
33 #define HAVE_QUICKSCREEN
34 /* define this if you have access to the pitchscreen */
35 #define HAVE_PITCHSCREEN
37 /* define this if you would like tagcache to build on this target */
42 #define LCD_HEIGHT 128
45 #define LCD_PIXELFORMAT VERTICAL_PACKING
48 #define LCD_REMOTE_WIDTH 128
49 #define LCD_REMOTE_HEIGHT 64
50 #define LCD_REMOTE_DEPTH 1
52 #define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
54 #define CONFIG_KEYPAD IRIVER_H100_PAD
56 #define CONFIG_REMOTE_KEYPAD H100_REMOTE
58 /* Define this if you do software codec */
59 #define CONFIG_CODEC SWCODEC
61 /* Define this if you have an remote lcd */
62 #define HAVE_REMOTE_LCD
64 /* Define if we have a hardware defect that causes ticking on the audio line */
65 #define HAVE_REMOTE_LCD_TICKING
67 #define CONFIG_LCD LCD_S1D15E06
69 /* define this if you have a disk storage, i.e. something
70 that needs spinups and can cause skips when shaked */
71 #define HAVE_DISK_STORAGE
73 /* Define this for LCD backlight available */
74 #define HAVE_BACKLIGHT
76 /* We can fade the backlight by using PWM */
77 #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM
79 /* Define this if you have a software controlled poweroff */
80 #define HAVE_SW_POWEROFF
82 /* The number of bytes reserved for loadable codecs */
83 #define CODEC_SIZE 0x100000
85 /* The number of bytes reserved for loadable plugins */
86 #define PLUGIN_BUFFER_SIZE 0x80000
88 #define AB_REPEAT_ENABLE 1
90 #define CONFIG_TUNER TEA5767
91 #define CONFIG_TUNER_XTAL 32768
95 /* define this if you have recording possibility */
96 #define HAVE_RECORDING
98 /* define hardware samples rate caps mask */
99 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
101 /* define the bitmask of recording sample rates */
102 #define REC_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
106 #define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */
107 #define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
108 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
109 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
110 #define BATTERY_TYPES_COUNT 1 /* only one type */
112 /* Hardware controlled charging */
113 #define CONFIG_CHARGING CHARGING_SIMPLE
115 /* define current usage levels */
116 #define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery */
117 #define CURRENT_BACKLIGHT 23 /* from IriverBattery twiki page */
118 #define CURRENT_SPDIF_OUT 10 /* optical SPDIF output on */
119 #define CURRENT_RECORD 105 /* additional current while recording */
120 #define CURRENT_REMOTE 8 /* additional current when remote connected */
124 /* Define this if you have a Motorola SCF5249 */
125 #define CONFIG_CPU MCF5249
127 /* Define this if you want to use coldfire's i2c interface */
128 #define CONFIG_I2C I2C_COLDFIRE
130 /* Define this if you can run rockbox from flash memory */
131 /* In theory we can, but somebody needs to verify there are no issues. */
132 #define HAVE_FLASHED_ROCKBOX
134 /* define this if the hardware can be powered off while charging */
135 #define HAVE_POWEROFF_WHILE_CHARGING
137 /* The size of the flash ROM */
138 #define FLASH_SIZE 0x200000
140 /* Define this to the CPU frequency */
141 #define CPU_FREQ 11289600
143 /* Define this if you have ATA power-off control */
144 #define HAVE_ATA_POWER_OFF
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 HAVE_ATA_LED_CTRL
154 /* Define this if you have adjustable CPU frequency */
155 #define HAVE_ADJUSTABLE_CPU_FREQ
157 #define BOOTFILE_EXT "iriver"
158 #define BOOTFILE "rockbox." BOOTFILE_EXT
159 #define BOOTDIR "/.rockbox"
161 #define BOOTLOADER_ENTRYPOINT 0x001F0000
162 #define FLASH_RAMIMAGE_ENTRY 0x00001000
163 #define FLASH_ROMIMAGE_ENTRY 0x00100000
164 #define FLASH_MAGIC 0xfbfbfbf2
166 /* Define this if there is an EEPROM chip */
169 /* Define this if the EEPROM chip is used */
170 #define HAVE_EEPROM_SETTINGS
172 #endif /* !SIMULATOR */
174 /* Define bitmask of input sources - recordable bitmask can be defined
175 explicitly if different */
176 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | \
177 SRC_CAP_FMRADIO | SRC_CAP_SPDIF)
179 /* Define this for S/PDIF output available */
180 #define HAVE_SPDIF_OUT
182 /* Define this if you can control the S/PDIF power */
183 #define HAVE_SPDIF_POWER
184 #define SPDIF_POWER_INVERTED
186 /* Define this for FM radio input available */
187 #define HAVE_FMRADIO_IN
189 /** Port-specific settings **/
191 #define HAVE_LCD_CONTRAST
193 /* Main LCD backlight brightness range and defaults */
194 #define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */
195 #define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */
196 #define DEFAULT_CONTRAST_SETTING 27
198 /* Remote LCD contrast range and defaults */
199 #define MIN_REMOTE_CONTRAST_SETTING 5
200 #define MAX_REMOTE_CONTRAST_SETTING 63
201 #define DEFAULT_REMOTE_CONTRAST_SETTING 42