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-recorderv2.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-recorderv2.h')
-rw-r--r-- | firmware/export/config-recorderv2.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/firmware/export/config-recorderv2.h b/firmware/export/config-recorderv2.h index b534be568f..fc1461066a 100644 --- a/firmware/export/config-recorderv2.h +++ b/firmware/export/config-recorderv2.h @@ -35,6 +35,9 @@ /* define this if you have a real-time clock */ #define CONFIG_RTC RTC_M41ST84W +/* FM recorders can wake up from RTC alarm */ +#define HAVE_RTC_ALARM + /* define this if you have RTC RAM available for settings */ #define HAVE_RTC_RAM @@ -54,7 +57,21 @@ #define CONFIG_I2C I2C_PLAYREC +/* Type of mobile power */ +#define CONFIG_BATTERY BATT_LIION2200 #define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */ +#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */ +#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ +#define BATTERY_CAPACITY_INC 50 /* capacity increment */ +#define BATTERY_TYPES_COUNT 1 /* only one type */ +/* Battery scale factor (guessed, seems to be 1,25 * value from recorder) */ +#define BATTERY_SCALE_FACTOR 8081 + +/* 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 @@ -73,15 +90,6 @@ /* Define this to the CPU frequency */ #define CPU_FREQ 11059200 -/* Type of mobile power */ -#define CONFIG_BATTERY BATT_LIION2200 -#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */ -#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ -#define BATTERY_CAPACITY_INC 50 /* capacity increment */ -#define BATTERY_TYPES_COUNT 1 /* only one type */ -/* Battery scale factor (guessed, seems to be 1,25 * value from recorder) */ -#define BATTERY_SCALE_FACTOR 8081 - /* Define this if you control power on PB5 (instead of the OFF button) */ #define HAVE_POWEROFF_ON_PB5 @@ -94,15 +102,9 @@ /* Offset ( in the firmware file's header ) to the real data */ #define FIRMWARE_OFFSET_FILE_DATA 24 -/* FM recorders can wake up from RTC alarm */ -#define HAVE_RTC_ALARM - /* Define this if you have an FM Radio */ #define CONFIG_TUNER S1A0903X01 -/* Hardware controlled charging with monitoring */ -#define CONFIG_CHARGING CHARGING_MONITOR - /* The start address index for ROM builds */ /* #define ROM_START 0x12010 for behind original Archos */ #define ROM_START 0x7010 /* for behind BootBox */ @@ -110,9 +112,6 @@ /* Software controlled LED */ #define CONFIG_LED LED_REAL -/* define this if the unit can be powered or charged via USB */ -#define HAVE_USB_POWER - #define CONFIG_LCD LCD_SSD1815 #define BOOTFILE_EXT "ajz" |