The install window doesn't need to be wider than the other ones.
[Rockbox.git] / firmware / export / config-h100.h
blobc661e1df14c0dabd380f4735931d665ea21a1985
1 #if defined(MEM) && (MEM > 16)
2 #error "re-run configure this just so wrong"
3 #endif
5 #define TARGET_TREE /* this target is using the target tree system */
7 /*
8 * This config file is for iriver iHP-100, iHP-110, iHP-115
9 */
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 can flip your LCD */
19 #define HAVE_LCD_FLIP
21 /* define this if you can invert the colours on your LCD */
22 #define HAVE_LCD_INVERT
24 /* define this if you have access to the quickscreen */
25 #define HAVE_QUICKSCREEN
26 /* define this if you have access to the pitchscreen */
27 #define HAVE_PITCHSCREEN
29 /* define this if you would like tagcache to build on this target */
30 #define HAVE_TAGCACHE
32 /* LCD dimensions */
33 #define LCD_WIDTH 160
34 #define LCD_HEIGHT 128
35 #define LCD_DEPTH 2
37 #define LCD_PIXELFORMAT VERTICAL_PACKING
39 /* remote LCD */
40 #define LCD_REMOTE_WIDTH 128
41 #define LCD_REMOTE_HEIGHT 64
42 #define LCD_REMOTE_DEPTH 1
44 #define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
46 #define CONFIG_KEYPAD IRIVER_H100_PAD
48 #define CONFIG_REMOTE_KEYPAD H100_REMOTE
50 /* Define this if you do software codec */
51 #define CONFIG_CODEC SWCODEC
53 /* Define this if you have an remote lcd */
54 #define HAVE_REMOTE_LCD
56 /* Define if we have a hardware defect that causes ticking on the audio line */
57 #define HAVE_REMOTE_LCD_TICKING
59 #define CONFIG_LCD LCD_S1D15E06
61 /* Define this for LCD backlight available */
62 #define HAVE_BACKLIGHT
64 /* We can fade the backlight by using PWM */
65 #define HAVE_BACKLIGHT_PWM_FADING
67 /* Define this if you have a software controlled poweroff */
68 #define HAVE_SW_POWEROFF
70 /* The number of bytes reserved for loadable codecs */
71 #define CODEC_SIZE 0x80000
73 /* The number of bytes reserved for loadable plugins */
74 #define PLUGIN_BUFFER_SIZE 0x80000
76 #define AB_REPEAT_ENABLE 1
78 #define CONFIG_TUNER TEA5767
79 #define CONFIG_TUNER_XTAL 32768
81 #define HAVE_UDA1380
83 /* define this if you have recording possibility */
84 #define HAVE_RECORDING
86 /* define hardware samples rate caps mask */
87 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
89 /* define the bitmask of recording sample rates */
90 #define REC_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
92 #define HAVE_AGC
94 #define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */
95 #define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
96 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
97 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
98 #define BATTERY_TYPES_COUNT 1 /* only one type */
100 /* Hardware controlled charging */
101 //#define CONFIG_CHARGING CHARGING_SIMPLE
102 #define CONFIG_CHARGING CHARGING_MONITOR /* FIXME: remove that once monitoring is fixed properly */
104 #ifndef SIMULATOR
106 /* Define this if you have a Motorola SCF5249 */
107 #define CONFIG_CPU MCF5249
109 /* Define this if you want to use coldfire's i2c interface */
110 #define CONFIG_I2C I2C_COLDFIRE
112 /* Define this if you can run rockbox from flash memory */
113 /* In theory we can, but somebody needs to verify there are no issues. */
114 // #define HAVE_FLASHED_ROCKBOX
116 /* define this if the hardware can be powered off while charging */
117 #define HAVE_POWEROFF_WHILE_CHARGING
119 /* The size of the flash ROM */
120 #define FLASH_SIZE 0x200000
122 /* Define this to the CPU frequency */
123 #define CPU_FREQ 11289600
125 /* Define this if you have ATA power-off control */
126 #define HAVE_ATA_POWER_OFF
128 /* Offset ( in the firmware file's header ) to the file CRC */
129 #define FIRMWARE_OFFSET_FILE_CRC 0
131 /* Offset ( in the firmware file's header ) to the real data */
132 #define FIRMWARE_OFFSET_FILE_DATA 8
134 #define HAVE_ATA_LED_CTRL
136 /* Define this if you have adjustable CPU frequency */
137 #define HAVE_ADJUSTABLE_CPU_FREQ
139 #define BOOTFILE_EXT "iriver"
140 #define BOOTFILE "rockbox." BOOTFILE_EXT
141 #define BOOTDIR "/.rockbox"
143 #define BOOTLOADER_ENTRYPOINT 0x001F0000
144 #define FLASH_RAMIMAGE_ENTRY 0x00001000
145 #define FLASH_ROMIMAGE_ENTRY 0x00100000
146 #define FLASH_MAGIC 0xfbfbfbf2
148 /* Define this if there is an EEPROM chip */
149 /* Someone with H100 and BDM, please verify if this works and remove these
150 ugly comments then. */
151 // #define HAVE_EEPROM
153 #endif /* !SIMULATOR */
155 /* Define bitmask of input sources - recordable bitmask can be defined
156 explicitly if different */
157 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | \
158 SRC_CAP_FMRADIO | SRC_CAP_SPDIF)
160 /* Define this for S/PDIF output available */
161 #define HAVE_SPDIF_OUT
163 /* Define this if you can control the S/PDIF power */
164 #define HAVE_SPDIF_POWER
165 #define SPDIF_POWER_INVERTED
167 /* Define this for FM radio input available */
168 #define HAVE_FMRADIO_IN
170 /** Port-specific settings **/
172 /* Main LCD backlight brightness range and defaults */
173 #define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */
174 #define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */
175 #define DEFAULT_CONTRAST_SETTING 27
177 /* Remote LCD contrast range and defaults */
178 #define MIN_REMOTE_CONTRAST_SETTING 5
179 #define MAX_REMOTE_CONTRAST_SETTING 63
180 #define DEFAULT_REMOTE_CONTRAST_SETTING 42