diff options
Diffstat (limited to 'firmware/export/config-h300.h')
-rw-r--r-- | firmware/export/config-h300.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h new file mode 100644 index 0000000000..654d9c1e26 --- /dev/null +++ b/firmware/export/config-h300.h | |||
@@ -0,0 +1,74 @@ | |||
1 | /* define this if you have recording possibility */ | ||
2 | /*#define HAVE_RECORDING 1*/ | ||
3 | |||
4 | /* define this if you have a bitmap LCD display */ | ||
5 | #define HAVE_LCD_BITMAP 1 | ||
6 | |||
7 | /* LCD dimensions */ | ||
8 | #define LCD_WIDTH 220 | ||
9 | #define LCD_HEIGHT 176 | ||
10 | |||
11 | /* remote LCD */ | ||
12 | #define LCD_REMOTE_WIDTH 128 | ||
13 | #define LCD_REMOTE_HEIGHT 64 | ||
14 | |||
15 | #define CONFIG_KEYPAD IRIVER_H300_PAD | ||
16 | |||
17 | #define CONFIG_REMOTE_KEYPAD H300_REMOTE | ||
18 | |||
19 | /* Define this if you do software codec */ | ||
20 | #define CONFIG_HWCODEC MASNONE | ||
21 | |||
22 | /* Define this if you have an remote lcd */ | ||
23 | #define HAVE_REMOTE_LCD | ||
24 | |||
25 | #ifndef SIMULATOR | ||
26 | |||
27 | /* Define this if you have a Motorola SCF5249 */ | ||
28 | #define CONFIG_CPU MCF5249 | ||
29 | |||
30 | #define CONFIG_I2C I2C_H100 | ||
31 | |||
32 | /* Type of mobile power */ | ||
33 | #define CONFIG_BATTERY BATT_LIPOL1300 | ||
34 | |||
35 | #define BATTERY_SCALE_FACTOR 16665 /* FIX: this value is picked at random */ | ||
36 | |||
37 | /* Define this if the platform can charge batteries */ | ||
38 | #define HAVE_CHARGING 1 | ||
39 | |||
40 | /* The start address index for ROM builds */ | ||
41 | #define ROM_START 0x11010 | ||
42 | |||
43 | /* Define this for LCD backlight available */ | ||
44 | #define CONFIG_BACKLIGHT BL_IRIVER /* port controlled */ | ||
45 | |||
46 | /* Define this to the CPU frequency */ | ||
47 | #define CPU_FREQ 11289600 | ||
48 | |||
49 | /* Define this if you have ATA power-off control */ | ||
50 | #define HAVE_ATA_POWER_OFF | ||
51 | |||
52 | #define CONFIG_LCD LCD_S1D15E06 | ||
53 | |||
54 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
55 | #define FIRMWARE_OFFSET_FILE_CRC 0 | ||
56 | |||
57 | /* Offset ( in the firmware file's header ) to the real data */ | ||
58 | #define FIRMWARE_OFFSET_FILE_DATA 8 | ||
59 | |||
60 | #define USB_IRIVERSTYLE | ||
61 | |||
62 | /* Define this if you have a software controlled poweroff */ | ||
63 | #define HAVE_SW_POWEROFF | ||
64 | |||
65 | /* Define this if you have adjustable CPU frequency */ | ||
66 | #define HAVE_ADJUSTABLE_CPU_FREQ | ||
67 | |||
68 | #define BOOTFILE_EXT ".iriver" | ||
69 | #define BOOTFILE "rockbox" BOOTFILE_EXT | ||
70 | |||
71 | /* Define this if you can control the S/PDIF power */ | ||
72 | #define HAVE_SPDIF_POWER | ||
73 | |||
74 | #endif | ||