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-ondiofm.h | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'firmware/export/config-ondiofm.h') diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h index 93c0fccc8c..f9c2b191f1 100644 --- a/firmware/export/config-ondiofm.h +++ b/firmware/export/config-ondiofm.h @@ -46,11 +46,24 @@ /* Enable this if you have done the backlight mod */ //#define HAVE_BACKLIGHT -#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */ - /* define this if you have a flash memory storage */ #define HAVE_FLASH_STORAGE +/* define this if more than one device/partition can be used */ +#define HAVE_MULTIVOLUME + +/* Type of mobile power */ +#define CONFIG_BATTERY BATT_3AAA +#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */ +#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ +#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */ +#define BATTERY_CAPACITY_INC 50 /* capacity increment */ +#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */ +#define BATTERY_SCALE_FACTOR 4735 /* average from 3 Ondios */ + +/* define this if the unit can be powered or charged via USB */ +#define HAVE_USB_POWER + #ifndef SIMULATOR /* Define this if you have a SH7034 */ @@ -62,14 +75,6 @@ /* Define this for different I2C pinout */ #define CONFIG_I2C I2C_ONDIO -/* Type of mobile power */ -#define CONFIG_BATTERY BATT_3AAA -#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ -#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */ -#define BATTERY_CAPACITY_INC 50 /* capacity increment */ -#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */ -#define BATTERY_SCALE_FACTOR 4735 /* average from 3 Ondios */ - /* Define this if you control power on PB5 (instead of the OFF button) */ #define HAVE_POWEROFF_ON_PB5 @@ -107,9 +112,6 @@ /* Define this if the MAS SIBI line can be controlled via PB8 */ #define HAVE_MAS_SIBI_CONTROL -/* define this if more than one device/partition can be used */ -#define HAVE_MULTIVOLUME - /* define this if media can be exchanged on the fly */ #define HAVE_HOTSWAP @@ -118,9 +120,6 @@ #define CONFIG_LCD LCD_SSD1815 -/* define this if the unit can be powered or charged via USB */ -#define HAVE_USB_POWER - #define BOOTFILE_EXT "ajz" #define BOOTFILE "ajbrec." BOOTFILE_EXT #define BOOTDIR "/" -- cgit v1.2.3