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 /* For Rolo and boot loader */
13 #define MODEL_NUMBER 1
15 /* define this if you have a bitmap LCD display */
16 #define HAVE_LCD_BITMAP
18 /* define this if you want album art for this target */
21 /* define this if you can flip your LCD */
24 /* define this if you can invert the colours on your LCD */
25 #define HAVE_LCD_INVERT
27 /* define this if you have access to the quickscreen */
28 #define HAVE_QUICKSCREEN
29 /* define this if you have access to the pitchscreen */
30 #define HAVE_PITCHSCREEN
32 /* define this if you would like tagcache to build on this target */
37 #define LCD_HEIGHT 128
40 #define LCD_PIXELFORMAT VERTICAL_PACKING
43 #define LCD_REMOTE_WIDTH 128
44 #define LCD_REMOTE_HEIGHT 64
45 #define LCD_REMOTE_DEPTH 1
47 #define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
49 #define CONFIG_KEYPAD IRIVER_H100_PAD
51 #define CONFIG_REMOTE_KEYPAD H100_REMOTE
53 /* Define this if you do software codec */
54 #define CONFIG_CODEC SWCODEC
56 /* Define this if you have an remote lcd */
57 #define HAVE_REMOTE_LCD
59 /* Define if we have a hardware defect that causes ticking on the audio line */
60 #define HAVE_REMOTE_LCD_TICKING
62 #define CONFIG_LCD LCD_S1D15E06
64 /* Define this for LCD backlight available */
65 #define HAVE_BACKLIGHT
67 /* We can fade the backlight by using PWM */
68 #define HAVE_BACKLIGHT_PWM_FADING
70 /* Define this if you have a software controlled poweroff */
71 #define HAVE_SW_POWEROFF
73 /* The number of bytes reserved for loadable codecs */
74 #define CODEC_SIZE 0x80000
76 /* The number of bytes reserved for loadable plugins */
77 #define PLUGIN_BUFFER_SIZE 0x80000
79 #define AB_REPEAT_ENABLE 1
81 #define CONFIG_TUNER TEA5767
82 #define CONFIG_TUNER_XTAL 32768
86 /* define this if you have recording possibility */
87 #define HAVE_RECORDING
89 /* define hardware samples rate caps mask */
90 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
92 /* define the bitmask of recording sample rates */
93 #define REC_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
97 #define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */
98 #define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
99 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
100 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
101 #define BATTERY_TYPES_COUNT 1 /* only one type */
103 /* Hardware controlled charging */
104 //#define CONFIG_CHARGING CHARGING_SIMPLE
105 #define CONFIG_CHARGING CHARGING_MONITOR /* FIXME: remove that once monitoring is fixed properly */
109 /* Define this if you have a Motorola SCF5249 */
110 #define CONFIG_CPU MCF5249
112 /* Define this if you want to use coldfire's i2c interface */
113 #define CONFIG_I2C I2C_COLDFIRE
115 /* Define this if you can run rockbox from flash memory */
116 /* In theory we can, but somebody needs to verify there are no issues. */
117 #define HAVE_FLASHED_ROCKBOX
119 /* define this if the hardware can be powered off while charging */
120 #define HAVE_POWEROFF_WHILE_CHARGING
122 /* The size of the flash ROM */
123 #define FLASH_SIZE 0x200000
125 /* Define this to the CPU frequency */
126 #define CPU_FREQ 11289600
128 /* Define this if you have ATA power-off control */
129 #define HAVE_ATA_POWER_OFF
131 /* Offset ( in the firmware file's header ) to the file CRC */
132 #define FIRMWARE_OFFSET_FILE_CRC 0
134 /* Offset ( in the firmware file's header ) to the real data */
135 #define FIRMWARE_OFFSET_FILE_DATA 8
137 #define HAVE_ATA_LED_CTRL
139 /* Define this if you have adjustable CPU frequency */
140 #define HAVE_ADJUSTABLE_CPU_FREQ
142 #define BOOTFILE_EXT "iriver"
143 #define BOOTFILE "rockbox." BOOTFILE_EXT
144 #define BOOTDIR "/.rockbox"
146 #define BOOTLOADER_ENTRYPOINT 0x001F0000
147 #define FLASH_RAMIMAGE_ENTRY 0x00001000
148 #define FLASH_ROMIMAGE_ENTRY 0x00100000
149 #define FLASH_MAGIC 0xfbfbfbf2
151 /* Define this if there is an EEPROM chip */
154 /* Define this if the EEPROM chip is used */
155 #define HAVE_EEPROM_SETTINGS
157 #endif /* !SIMULATOR */
159 /* Define bitmask of input sources - recordable bitmask can be defined
160 explicitly if different */
161 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | \
162 SRC_CAP_FMRADIO | SRC_CAP_SPDIF)
164 /* Define this for S/PDIF output available */
165 #define HAVE_SPDIF_OUT
167 /* Define this if you can control the S/PDIF power */
168 #define HAVE_SPDIF_POWER
169 #define SPDIF_POWER_INVERTED
171 /* Define this for FM radio input available */
172 #define HAVE_FMRADIO_IN
174 /** Port-specific settings **/
176 #define HAVE_LCD_CONTRAST
178 /* Main LCD backlight brightness range and defaults */
179 #define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */
180 #define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */
181 #define DEFAULT_CONTRAST_SETTING 27
183 /* Remote LCD contrast range and defaults */
184 #define MIN_REMOTE_CONTRAST_SETTING 5
185 #define MAX_REMOTE_CONTRAST_SETTING 63
186 #define DEFAULT_REMOTE_CONTRAST_SETTING 42