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-gigabeat.h | 40 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'firmware/export/config-gigabeat.h') diff --git a/firmware/export/config-gigabeat.h b/firmware/export/config-gigabeat.h index 38be0d078f..319ad4e916 100644 --- a/firmware/export/config-gigabeat.h +++ b/firmware/export/config-gigabeat.h @@ -32,6 +32,9 @@ #define LCD_DEPTH 16 /* 65k colours */ #define LCD_PIXELFORMAT RGB565 /* rgb565 */ +/* Define this if your LCD can be enabled/disabled */ +#define HAVE_LCD_ENABLE + #define CONFIG_KEYPAD GIGABEAT_PAD /* Define this if you do software codec */ @@ -71,38 +74,38 @@ /* Define this if you want to use the adaptive bass capibility of the 8751 */ /* #define USE_ADAPTIVE_BASS */ -#define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ - #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ SAMPR_CAP_11) -#ifndef SIMULATOR - -/* Define this if your LCD can be enabled/disabled */ -#define HAVE_LCD_ENABLE - -/* The LCD on a Gigabeat is 240x320 - it is portrait */ -#define HAVE_PORTRAIT_LCD - -/* Define this if you have a Motorola SCF5249 */ -#define CONFIG_CPU S3C2440 - -/* Define this if you want to use coldfire's i2c interface */ -#define CONFIG_I2C I2C_S3C2440 +#define HAVE_HEADPHONE_DETECTION /* Type of mobile power - check this out */ #define CONFIG_BATTERY BATT_LIION830 /* could change this later */ +#define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ #define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */ #define BATTERY_CAPACITY_INC 25 /* capacity increment */ #define BATTERY_TYPES_COUNT 1 /* only one type */ - /* ADC[0] is (530) at discharge and 625 at full charge */ #define BATTERY_SCALE_FACTOR 6450 /* Hardware controlled charging with monitoring */ #define CONFIG_CHARGING CHARGING_MONITOR +/* define this if the unit can be powered or charged via USB */ +#define HAVE_USB_POWER + +#ifndef SIMULATOR + +/* The LCD on a Gigabeat is 240x320 - it is portrait */ +#define HAVE_PORTRAIT_LCD + +/* Define this if you have a Motorola SCF5249 */ +#define CONFIG_CPU S3C2440 + +/* Define this if you want to use coldfire's i2c interface */ +#define CONFIG_I2C I2C_S3C2440 + /* define this if the hardware can be powered off while charging */ #define HAVE_POWEROFF_WHILE_CHARGING @@ -112,9 +115,6 @@ /* Define this to the CPU frequency */ #define CPU_FREQ 16934400 -/* define this if the unit can be powered or charged via USB */ -#define HAVE_USB_POWER - /* Define this if you have ATA power-off control */ #define HAVE_ATA_POWER_OFF @@ -133,8 +133,6 @@ /* Offset ( in the firmware file's header ) to the real data */ #define FIRMWARE_OFFSET_FILE_DATA 8 -#define HAVE_HEADPHONE_DETECTION - /* Define this if you have adjustable CPU frequency */ /* #define HAVE_ADJUSTABLE_CPU_FREQ */ -- cgit v1.2.3