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-recorder.h | |
parent | 90c40b7fea0275e212addf3ae6ac6979f5b4585b (diff) | |
download | rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.tar.gz rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.zip |
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-recorder.h')
-rw-r--r-- | firmware/export/config-recorder.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h index 29f187fdd2..920db04a01 100644 --- a/firmware/export/config-recorder.h +++ b/firmware/export/config-recorder.h | |||
@@ -51,7 +51,17 @@ | |||
51 | 51 | ||
52 | #define CONFIG_I2C I2C_PLAYREC | 52 | #define CONFIG_I2C I2C_PLAYREC |
53 | 53 | ||
54 | /* Type of mobile power */ | ||
55 | #define CONFIG_BATTERY BATT_4AA_NIMH | ||
54 | #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ | 56 | #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ |
57 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ | ||
58 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | ||
59 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
60 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
61 | #define BATTERY_SCALE_FACTOR 6465 | ||
62 | |||
63 | /* Software controlled charging */ | ||
64 | #define CONFIG_CHARGING CHARGING_CONTROL | ||
55 | 65 | ||
56 | #ifndef SIMULATOR | 66 | #ifndef SIMULATOR |
57 | 67 | ||
@@ -67,14 +77,6 @@ | |||
67 | /* Define this to the CPU frequency */ | 77 | /* Define this to the CPU frequency */ |
68 | #define CPU_FREQ 11059200 | 78 | #define CPU_FREQ 11059200 |
69 | 79 | ||
70 | /* Type of mobile power */ | ||
71 | #define CONFIG_BATTERY BATT_4AA_NIMH | ||
72 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ | ||
73 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | ||
74 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
75 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
76 | #define BATTERY_SCALE_FACTOR 6465 | ||
77 | |||
78 | /* Define this if you control power on PBDR (instead of PADR) */ | 80 | /* Define this if you control power on PBDR (instead of PADR) */ |
79 | #define HAVE_POWEROFF_ON_PBDR | 81 | #define HAVE_POWEROFF_ON_PBDR |
80 | 82 | ||
@@ -87,9 +89,6 @@ | |||
87 | /* Offset ( in the firmware file's header ) to the real data */ | 89 | /* Offset ( in the firmware file's header ) to the real data */ |
88 | #define FIRMWARE_OFFSET_FILE_DATA 6 | 90 | #define FIRMWARE_OFFSET_FILE_DATA 6 |
89 | 91 | ||
90 | /* Software controlled charging */ | ||
91 | #define CONFIG_CHARGING CHARGING_CONTROL | ||
92 | |||
93 | /* The start address index for ROM builds */ | 92 | /* The start address index for ROM builds */ |
94 | /* #define ROM_START 0x11010 for behind original Archos */ | 93 | /* #define ROM_START 0x11010 for behind original Archos */ |
95 | #define ROM_START 0x7010 /* for behind BootBox */ | 94 | #define ROM_START 0x7010 /* for behind BootBox */ |