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-ifp7xx.h | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'firmware/export/config-ifp7xx.h') diff --git a/firmware/export/config-ifp7xx.h b/firmware/export/config-ifp7xx.h index 64e8b13304..65915df30e 100644 --- a/firmware/export/config-ifp7xx.h +++ b/firmware/export/config-ifp7xx.h @@ -50,8 +50,6 @@ #define HAVE_FLASH_DISK -#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */ - /* Virtual LED (icon) */ #define CONFIG_LED LED_VIRTUAL @@ -62,22 +60,23 @@ /* define this if you have a flash memory storage */ #define HAVE_FLASH_STORAGE -#ifndef SIMULATOR - -/* Define this if you have a Philips PNX0101 */ -#define CONFIG_CPU PNX0101 - -/* Define this if you want to use the PNX0101 i2c interface */ -#define CONFIG_I2C I2C_PNX0101 - /* Type of mobile power */ #define CONFIG_BATTERY BATT_1AA +#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */ #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ #define BATTERY_CAPACITY_MAX 2800 /* max. capacity selectable */ #define BATTERY_CAPACITY_INC 50 /* capacity increment */ #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */ #define BATTERY_SCALE_FACTOR 3000 /* TODO: only roughly correct */ +#ifndef SIMULATOR + +/* Define this if you have a Philips PNX0101 */ +#define CONFIG_CPU PNX0101 + +/* Define this if you want to use the PNX0101 i2c interface */ +#define CONFIG_I2C I2C_PNX0101 + /* The start address index for ROM builds */ #define ROM_START 0x00000000 -- cgit v1.2.3