diff options
| -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 f4ada14..01012cd 100644 --- a/firmware/export/config-h100.h +++ b/firmware/export/config-h100.h @@ -18,8 +18,12 @@ /* Define this if you have a Motorola SCF5249 */ #define CONFIG_CPU MCF5249 -/* Type of mobile power, FIXME: probably different, make new type */ -#define CONFIG_BATTERY BATT_LIION2200 +#define CONFIG_I2C I2C_H100 + +/* Type of mobile power */ +#define CONFIG_BATTERY BATT_IRIVER + +#define BATTERY_SCALE_FACTOR 6465 /* FIX: this value is picked at random */ /* Define this if the platform can charge batteries */ #define HAVE_CHARGING 1 @@ -44,4 +48,6 @@ /* Offset ( in the firmware file's header ) to the real data */ #define FIRMWARE_OFFSET_FILE_DATA 8 +#define USB_NONE /* FIX: USB temorarily disabled */ + #endif diff --git a/firmware/export/config.h b/firmware/export/config.h index 64694af..5528f93 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -48,6 +48,7 @@ #define BATT_LIION2200 2200 /* FM/V2 recorder type */ #define BATT_4AA_NIMH 1500 #define BATT_3AAA 1000 /* Ondio */ +#define BATT_IRIVER 2 /* the type used in iRiver h1x0 models */ /* CONFIG_LCD */ #define LCD_GMINI100 0 @@ -65,6 +66,7 @@ #define I2C_PLAYREC 0 /* Archos Player/Recorder style */ #define I2C_ONDIO 1 /* Ondio style */ #define I2C_GMINI 2 /* Gmini style */ +#define I2C_H100 3 /* iRiver h100 style */ /* now go and pick yours */ #if defined(ARCHOS_PLAYER) |