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-recorder.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'firmware/export/config-recorder.h') diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h index 29f187fdd2..920db04a01 100644 --- a/firmware/export/config-recorder.h +++ b/firmware/export/config-recorder.h @@ -51,7 +51,17 @@ #define CONFIG_I2C I2C_PLAYREC +/* Type of mobile power */ +#define CONFIG_BATTERY BATT_4AA_NIMH #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ +#define BATTERY_CAPACITY_MIN 1500 /* 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 6465 + +/* Software controlled charging */ +#define CONFIG_CHARGING CHARGING_CONTROL #ifndef SIMULATOR @@ -67,14 +77,6 @@ /* Define this to the CPU frequency */ #define CPU_FREQ 11059200 -/* Type of mobile power */ -#define CONFIG_BATTERY BATT_4AA_NIMH -#define BATTERY_CAPACITY_MIN 1500 /* 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 6465 - /* Define this if you control power on PBDR (instead of PADR) */ #define HAVE_POWEROFF_ON_PBDR @@ -87,9 +89,6 @@ /* Offset ( in the firmware file's header ) to the real data */ #define FIRMWARE_OFFSET_FILE_DATA 6 -/* Software controlled charging */ -#define CONFIG_CHARGING CHARGING_CONTROL - /* The start address index for ROM builds */ /* #define ROM_START 0x11010 for behind original Archos */ #define ROM_START 0x7010 /* for behind BootBox */ -- cgit v1.2.3