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-iaudiox5.h | 42 +++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 22 deletions(-) (limited to 'firmware/export/config-iaudiox5.h') diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index fbcb69aa61..c02b2a78f4 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h @@ -53,6 +53,13 @@ #define LCD_REMOTE_PIXELFORMAT VERTICAL_INTERLEAVED +/* Define this if your LCD can be enabled/disabled */ +#define HAVE_LCD_ENABLE + +/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE + should be defined as well. */ +#define HAVE_LCD_SLEEP + #define CONFIG_KEYPAD IAUDIO_X5M5_PAD #define AB_REPEAT_ENABLE 1 @@ -86,35 +93,35 @@ #define CONFIG_TUNER TEA5767 #define CONFIG_TUNER_XTAL 32768 - -#define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */ - #define HAVE_TLV320 /* TLV320 has no tone controls, so we use the software ones */ #define HAVE_SW_TONE_CONTROLS +/* Type of mobile power */ +#define X5_BATT_CONFIG 2 +#define CONFIG_BATTERY BATT_IAUDIO_X5M5 +#define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */ +#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */ +#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */ +#define BATTERY_CAPACITY_INC 50 /* capacity increment */ +#define BATTERY_TYPES_COUNT 1 /* only one type */ +#define BATTERY_SCALE_FACTOR 5859 /* (420703125 + 35900) / 71800 */ + +/* Hardware controlled charging? FIXME */ +#define CONFIG_CHARGING CHARGING_SIMPLE + #ifndef SIMULATOR /* Define this if your LCD can set contrast */ #define HAVE_LCD_CONTRAST -/* Define this if your LCD can be enabled/disabled */ -#define HAVE_LCD_ENABLE - -/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE - should be defined as well. */ -#define HAVE_LCD_SLEEP - /* Define this if you have a Motorola SCF5250 */ #define CONFIG_CPU MCF5250 /* Define this if you want to use coldfire's i2c interface */ #define CONFIG_I2C I2C_COLDFIRE -/* Hardware controlled charging? FIXME */ -#define CONFIG_CHARGING CHARGING_SIMPLE - /* define this if the hardware can be powered off while charging */ #define HAVE_POWEROFF_WHILE_CHARGING @@ -124,15 +131,6 @@ /* Define this to the CPU frequency */ #define CPU_FREQ 11289600 -/* Type of mobile power */ -#define X5_BATT_CONFIG 2 -#define CONFIG_BATTERY BATT_IAUDIO_X5M5 -#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */ -#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */ -#define BATTERY_CAPACITY_INC 50 /* capacity increment */ -#define BATTERY_TYPES_COUNT 1 /* only one type */ -#define BATTERY_SCALE_FACTOR 5859 /* (420703125 + 35900) / 71800 */ - /* Define this if you have ATA power-off control */ #define HAVE_ATA_POWER_OFF -- cgit v1.2.3