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-ipodmini.h | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'firmware/export/config-ipodmini.h') diff --git a/firmware/export/config-ipodmini.h b/firmware/export/config-ipodmini.h index 7fba883c9c..7f77681d1d 100644 --- a/firmware/export/config-ipodmini.h +++ b/firmware/export/config-ipodmini.h @@ -48,6 +48,9 @@ /* define this if you have a real-time clock */ #define CONFIG_RTC RTC_PCF50605 +/* Define if the device can wake from an RTC alarm */ +#define HAVE_RTC_ALARM + /* Define this if you have a software controlled poweroff */ #define HAVE_SW_POWEROFF @@ -69,18 +72,12 @@ /* Define this for LCD backlight available */ #define HAVE_BACKLIGHT -#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ - -#ifndef SIMULATOR - -/* Define this if you have a PortalPlayer PP5020 */ -#define CONFIG_CPU PP5020 - -/* Define this if you want to use the PP5020 i2c interface */ -#define CONFIG_I2C I2C_PP5020 +/* Define this if you can detect headphones */ +#define HAVE_HEADPHONE_DETECTION /* Type of mobile power */ #define CONFIG_BATTERY BATT_LIPOL1300 +#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ #define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ #define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ #define BATTERY_CAPACITY_INC 10 /* capacity increment */ @@ -90,6 +87,17 @@ /* Hardware controlled charging? FIXME */ //#define CONFIG_CHARGING CHARGING_SIMPLE +/* define this if the unit can be powered or charged via USB */ +#define HAVE_USB_POWER + +#ifndef SIMULATOR + +/* Define this if you have a PortalPlayer PP5020 */ +#define CONFIG_CPU PP5020 + +/* Define this if you want to use the PP5020 i2c interface */ +#define CONFIG_I2C I2C_PP5020 + /* define this if the hardware can be powered off while charging */ //#define HAVE_POWEROFF_WHILE_CHARGING @@ -118,21 +126,12 @@ /* USB On-the-go */ #define CONFIG_USBOTG USBOTG_ARC -/* define this if the unit can be powered or charged via USB */ -#define HAVE_USB_POWER - /* Virtual LED (icon) */ #define CONFIG_LED LED_VIRTUAL -/* Define if the device can wake from an RTC alarm */ -#define HAVE_RTC_ALARM - /* Define this if you have adjustable CPU frequency */ #define HAVE_ADJUSTABLE_CPU_FREQ -/* Define this if you can detect headphones */ -#define HAVE_HEADPHONE_DETECTION - #define BOOTFILE_EXT "ipod" #define BOOTFILE "rockbox." BOOTFILE_EXT #define BOOTDIR "/.rockbox" -- cgit v1.2.3