From f28da1a35a6403b153f93f66e3d96e485f89c363 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sun, 12 Aug 2007 19:49:03 +0000 Subject: Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-h120.h | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'firmware/export/config-h120.h') diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h index 7e5a66a3dd..bf13f3e1d7 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h @@ -48,6 +48,9 @@ /* Define this if you have an remote lcd */ #define HAVE_REMOTE_LCD +/* Define if we have a hardware defect that causes ticking on the audio line */ +#define HAVE_REMOTE_LCD_TICKING + #define CONFIG_LCD LCD_S1D15E06 /* Define this for LCD backlight available */ @@ -88,7 +91,17 @@ #define HAVE_AGC +#define CONFIG_BATTERY BATT_LIPOL1300 #define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */ +#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */ +#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ +#define BATTERY_CAPACITY_INC 50 /* capacity increment */ +#define BATTERY_TYPES_COUNT 1 /* only one type */ +#define BATTERY_SCALE_FACTOR 16665 /* FIX: this value is picked at random */ + +/* Hardware controlled charging */ +//#define CONFIG_CHARGING CHARGING_SIMPLE +#define CONFIG_CHARGING CHARGING_MONITOR /* FIXME: remove that once monitoring is fixed properly */ #ifndef SIMULATOR @@ -98,23 +111,9 @@ /* Define this if you want to use coldfire's i2c interface */ #define CONFIG_I2C I2C_COLDFIRE -#define CONFIG_BATTERY BATT_LIPOL1300 -#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */ -#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ -#define BATTERY_CAPACITY_INC 50 /* capacity increment */ -#define BATTERY_TYPES_COUNT 1 /* only one type */ -#define BATTERY_SCALE_FACTOR 16665 /* FIX: this value is picked at random */ - /* Define this if you can run rockbox from flash memory */ #define HAVE_FLASHED_ROCKBOX -/* Define if we have a hardware defect that causes ticking on the audio line */ -#define HAVE_REMOTE_LCD_TICKING - -/* Hardware controlled charging */ -//#define CONFIG_CHARGING CHARGING_SIMPLE -#define CONFIG_CHARGING CHARGING_MONITOR /* FIXME: remove that once monitoring is fixed properly */ - /* define this if the hardware can be powered off while charging */ #define HAVE_POWEROFF_WHILE_CHARGING -- cgit v1.2.3