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-h10.h | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) (limited to 'firmware/export/config-h10.h') diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h index 7a97f4c9bd..502b5b106e 100644 --- a/firmware/export/config-h10.h +++ b/firmware/export/config-h10.h @@ -41,6 +41,14 @@ #define LCD_DEPTH 16 /* 65536 colours */ #define LCD_PIXELFORMAT RGB565 /* rgb565 */ +/* Define this if your LCD can be enabled/disabled */ +#define HAVE_LCD_ENABLE + +/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE + * should be defined as well. + * We can currently put the lcd to sleep but it won't wake up properly */ +#define HAVE_LCD_SLEEP + /* define this if you can flip your LCD */ #define HAVE_LCD_FLIP @@ -83,20 +91,11 @@ /* Define this for LCD backlight available */ #define HAVE_BACKLIGHT -#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */ - #define AB_REPEAT_ENABLE 1 -#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 - /* Type of mobile power */ #define CONFIG_BATTERY BATT_LPCS355385 +#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */ #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ #define BATTERY_CAPACITY_MAX 1600 /* max. capacity selectable */ #define BATTERY_CAPACITY_INC 10 /* capacity increment */ @@ -106,6 +105,17 @@ /* Hardware controlled charging */ #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 @@ -128,14 +138,6 @@ #define MAX_CONTRAST_SETTING 30 #define DEFAULT_CONTRAST_SETTING 14 /* Match boot contrast */ -/* Define this if your LCD can be enabled/disabled */ -#define HAVE_LCD_ENABLE - -/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE - * should be defined as well. - * We can currently put the lcd to sleep but it won't wake up properly */ -#define HAVE_LCD_SLEEP - /* We're able to shut off power to the HDD */ #define HAVE_ATA_POWER_OFF @@ -149,9 +151,6 @@ /* 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 -- cgit v1.2.3