diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/config-h100.h | 10 | ||||
-rw-r--r-- | firmware/export/config.h | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h index f4ada149fc..01012cde3c 100644 --- a/firmware/export/config-h100.h +++ b/firmware/export/config-h100.h | |||
@@ -18,8 +18,12 @@ | |||
18 | /* Define this if you have a Motorola SCF5249 */ | 18 | /* Define this if you have a Motorola SCF5249 */ |
19 | #define CONFIG_CPU MCF5249 | 19 | #define CONFIG_CPU MCF5249 |
20 | 20 | ||
21 | /* Type of mobile power, FIXME: probably different, make new type */ | 21 | #define CONFIG_I2C I2C_H100 |
22 | #define CONFIG_BATTERY BATT_LIION2200 | 22 | |
23 | /* Type of mobile power */ | ||
24 | #define CONFIG_BATTERY BATT_IRIVER | ||
25 | |||
26 | #define BATTERY_SCALE_FACTOR 6465 /* FIX: this value is picked at random */ | ||
23 | 27 | ||
24 | /* Define this if the platform can charge batteries */ | 28 | /* Define this if the platform can charge batteries */ |
25 | #define HAVE_CHARGING 1 | 29 | #define HAVE_CHARGING 1 |
@@ -44,4 +48,6 @@ | |||
44 | /* Offset ( in the firmware file's header ) to the real data */ | 48 | /* Offset ( in the firmware file's header ) to the real data */ |
45 | #define FIRMWARE_OFFSET_FILE_DATA 8 | 49 | #define FIRMWARE_OFFSET_FILE_DATA 8 |
46 | 50 | ||
51 | #define USB_NONE /* FIX: USB temorarily disabled */ | ||
52 | |||
47 | #endif | 53 | #endif |
diff --git a/firmware/export/config.h b/firmware/export/config.h index 64694af794..5528f93d09 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -48,6 +48,7 @@ | |||
48 | #define BATT_LIION2200 2200 /* FM/V2 recorder type */ | 48 | #define BATT_LIION2200 2200 /* FM/V2 recorder type */ |
49 | #define BATT_4AA_NIMH 1500 | 49 | #define BATT_4AA_NIMH 1500 |
50 | #define BATT_3AAA 1000 /* Ondio */ | 50 | #define BATT_3AAA 1000 /* Ondio */ |
51 | #define BATT_IRIVER 2 /* the type used in iRiver h1x0 models */ | ||
51 | 52 | ||
52 | /* CONFIG_LCD */ | 53 | /* CONFIG_LCD */ |
53 | #define LCD_GMINI100 0 | 54 | #define LCD_GMINI100 0 |
@@ -65,6 +66,7 @@ | |||
65 | #define I2C_PLAYREC 0 /* Archos Player/Recorder style */ | 66 | #define I2C_PLAYREC 0 /* Archos Player/Recorder style */ |
66 | #define I2C_ONDIO 1 /* Ondio style */ | 67 | #define I2C_ONDIO 1 /* Ondio style */ |
67 | #define I2C_GMINI 2 /* Gmini style */ | 68 | #define I2C_GMINI 2 /* Gmini style */ |
69 | #define I2C_H100 3 /* iRiver h100 style */ | ||
68 | 70 | ||
69 | /* now go and pick yours */ | 71 | /* now go and pick yours */ |
70 | #if defined(ARCHOS_PLAYER) | 72 | #if defined(ARCHOS_PLAYER) |