diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-08-12 19:49:03 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-08-12 19:49:03 +0000 |
commit | f28da1a35a6403b153f93f66e3d96e485f89c363 (patch) | |
tree | 760d0c286a65042e18e2165ff555be0d40e80558 /firmware/export/config-ipod3g.h | |
parent | 90c40b7fea0275e212addf3ae6ac6979f5b4585b (diff) |
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
Diffstat (limited to 'firmware/export/config-ipod3g.h')
-rw-r--r-- | firmware/export/config-ipod3g.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/firmware/export/config-ipod3g.h b/firmware/export/config-ipod3g.h index b356fc5ac0..64aa14941b 100644 --- a/firmware/export/config-ipod3g.h +++ b/firmware/export/config-ipod3g.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 @@ -66,7 +69,20 @@ /* Define this for LCD backlight available */ #define HAVE_BACKLIGHT +/* Define this if you can detect headphones */ +#define HAVE_HEADPHONE_DETECTION + +/* Type of mobile power */ +#define CONFIG_BATTERY BATT_LIPOL1300 #define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */ +#define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */ +#define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */ +#define BATTERY_CAPACITY_INC 10 /* capacity increment */ +#define BATTERY_TYPES_COUNT 1 /* only one type */ +#define BATTERY_SCALE_FACTOR 5865 + +/* Hardware controlled charging? FIXME */ +//#define CONFIG_CHARGING CHARGING_SIMPLE #ifndef SIMULATOR @@ -79,17 +95,6 @@ /* Define this if you want to use the PP5002 i2c interface */ #define CONFIG_I2C I2C_PP5002 -/* Type of mobile power */ -#define CONFIG_BATTERY BATT_LIPOL1300 -#define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */ -#define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */ -#define BATTERY_CAPACITY_INC 10 /* capacity increment */ -#define BATTERY_TYPES_COUNT 1 /* only one type */ -#define BATTERY_SCALE_FACTOR 5865 - -/* 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 @@ -119,15 +124,9 @@ /* 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" |