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-ondiosp.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-ondiosp.h')
-rw-r--r-- | firmware/export/config-ondiosp.h | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/firmware/export/config-ondiosp.h b/firmware/export/config-ondiosp.h index 22673e82b3..510ce01f57 100644 --- a/firmware/export/config-ondiosp.h +++ b/firmware/export/config-ondiosp.h | |||
@@ -35,27 +35,32 @@ | |||
35 | /* Enable this if you have done the backlight mod */ | 35 | /* Enable this if you have done the backlight mod */ |
36 | //#define HAVE_BACKLIGHT | 36 | //#define HAVE_BACKLIGHT |
37 | 37 | ||
38 | #define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */ | ||
39 | |||
40 | /* define this if you have a flash memory storage */ | 38 | /* define this if you have a flash memory storage */ |
41 | #define HAVE_FLASH_STORAGE | 39 | #define HAVE_FLASH_STORAGE |
42 | 40 | ||
43 | #ifndef SIMULATOR | 41 | /* define this if more than one device/partition can be used */ |
44 | 42 | #define HAVE_MULTIVOLUME | |
45 | /* Define this if you have a SH7034 */ | ||
46 | #define CONFIG_CPU SH7034 | ||
47 | |||
48 | /* Define this to the CPU frequency */ | ||
49 | #define CPU_FREQ 12000000 | ||
50 | 43 | ||
51 | /* Type of mobile power */ | 44 | /* Type of mobile power */ |
52 | #define CONFIG_BATTERY BATT_3AAA | 45 | #define CONFIG_BATTERY BATT_3AAA |
46 | #define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */ | ||
53 | #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ | 47 | #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ |
54 | #define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */ | 48 | #define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */ |
55 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | 49 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ |
56 | #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */ | 50 | #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */ |
57 | #define BATTERY_SCALE_FACTOR 4735 /* average from 3 Ondios */ | 51 | #define BATTERY_SCALE_FACTOR 4735 /* average from 3 Ondios */ |
58 | 52 | ||
53 | /* define this if the unit can be powered or charged via USB */ | ||
54 | #define HAVE_USB_POWER | ||
55 | |||
56 | #ifndef SIMULATOR | ||
57 | |||
58 | /* Define this if you have a SH7034 */ | ||
59 | #define CONFIG_CPU SH7034 | ||
60 | |||
61 | /* Define this to the CPU frequency */ | ||
62 | #define CPU_FREQ 12000000 | ||
63 | |||
59 | /* Define this if you control power on PB5 (instead of the OFF button) */ | 64 | /* Define this if you control power on PB5 (instead of the OFF button) */ |
60 | #define HAVE_POWEROFF_ON_PB5 | 65 | #define HAVE_POWEROFF_ON_PB5 |
61 | 66 | ||
@@ -90,9 +95,6 @@ | |||
90 | /* Define this if the MAS SIBI line can be controlled via PB8 */ | 95 | /* Define this if the MAS SIBI line can be controlled via PB8 */ |
91 | #define HAVE_MAS_SIBI_CONTROL | 96 | #define HAVE_MAS_SIBI_CONTROL |
92 | 97 | ||
93 | /* define this if more than one device/partition can be used */ | ||
94 | #define HAVE_MULTIVOLUME | ||
95 | |||
96 | /* define this if media can be exchanged on the fly */ | 98 | /* define this if media can be exchanged on the fly */ |
97 | #define HAVE_HOTSWAP | 99 | #define HAVE_HOTSWAP |
98 | 100 | ||
@@ -101,9 +103,6 @@ | |||
101 | 103 | ||
102 | #define CONFIG_LCD LCD_SSD1815 | 104 | #define CONFIG_LCD LCD_SSD1815 |
103 | 105 | ||
104 | /* define this if the unit can be powered or charged via USB */ | ||
105 | #define HAVE_USB_POWER | ||
106 | |||
107 | #define BOOTFILE_EXT "ajz" | 106 | #define BOOTFILE_EXT "ajz" |
108 | #define BOOTFILE "ajbrec." BOOTFILE_EXT | 107 | #define BOOTFILE "ajbrec." BOOTFILE_EXT |
109 | #define BOOTDIR "/" | 108 | #define BOOTDIR "/" |