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-h300.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-h300.h')
-rw-r--r-- | firmware/export/config-h300.h | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h index 43239e4419..91c175fc7d 100644 --- a/firmware/export/config-h300.h +++ b/firmware/export/config-h300.h | |||
@@ -50,8 +50,12 @@ | |||
50 | /* Define this if you have an remote lcd */ | 50 | /* Define this if you have an remote lcd */ |
51 | #define HAVE_REMOTE_LCD | 51 | #define HAVE_REMOTE_LCD |
52 | 52 | ||
53 | /* Define if we have a hardware defect that causes ticking on the audio line */ | ||
54 | #define HAVE_REMOTE_LCD_TICKING | ||
55 | |||
53 | /* Define this for LCD backlight available */ | 56 | /* Define this for LCD backlight available */ |
54 | #define HAVE_BACKLIGHT | 57 | #define HAVE_BACKLIGHT |
58 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
55 | 59 | ||
56 | /* Define this if you have a software controlled poweroff */ | 60 | /* Define this if you have a software controlled poweroff */ |
57 | #define HAVE_SW_POWEROFF | 61 | #define HAVE_SW_POWEROFF |
@@ -84,7 +88,20 @@ | |||
84 | 88 | ||
85 | #define HAVE_AGC | 89 | #define HAVE_AGC |
86 | 90 | ||
91 | /* Type of mobile power */ | ||
92 | #define CONFIG_BATTERY BATT_LIPOL1300 | ||
87 | #define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */ | 93 | #define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */ |
94 | #define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */ | ||
95 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | ||
96 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
97 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
98 | #define BATTERY_SCALE_FACTOR 23437 /* FIX: this value is picked at random */ | ||
99 | |||
100 | /* Hardware controlled charging with monitoring */ | ||
101 | #define CONFIG_CHARGING CHARGING_MONITOR | ||
102 | |||
103 | /* define this if the unit can be powered or charged via USB */ | ||
104 | #define HAVE_USB_POWER | ||
88 | 105 | ||
89 | #ifndef SIMULATOR | 106 | #ifndef SIMULATOR |
90 | 107 | ||
@@ -97,20 +114,6 @@ | |||
97 | /* Define this if you want to use coldfire's i2c interface */ | 114 | /* Define this if you want to use coldfire's i2c interface */ |
98 | #define CONFIG_I2C I2C_COLDFIRE | 115 | #define CONFIG_I2C I2C_COLDFIRE |
99 | 116 | ||
100 | /* Type of mobile power */ | ||
101 | #define CONFIG_BATTERY BATT_LIPOL1300 | ||
102 | #define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */ | ||
103 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | ||
104 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
105 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
106 | #define BATTERY_SCALE_FACTOR 23437 /* FIX: this value is picked at random */ | ||
107 | |||
108 | /* Define if we have a hardware defect that causes ticking on the audio line */ | ||
109 | #define HAVE_REMOTE_LCD_TICKING | ||
110 | |||
111 | /* Hardware controlled charging with monitoring */ | ||
112 | #define CONFIG_CHARGING CHARGING_MONITOR | ||
113 | |||
114 | /* The size of the flash ROM */ | 117 | /* The size of the flash ROM */ |
115 | #define FLASH_SIZE 0x400000 | 118 | #define FLASH_SIZE 0x400000 |
116 | 119 | ||
@@ -145,11 +148,6 @@ | |||
145 | #define FLASH_ENTRYPOINT 0x00001000 | 148 | #define FLASH_ENTRYPOINT 0x00001000 |
146 | #define FLASH_MAGIC 0xfbfbfbf1 | 149 | #define FLASH_MAGIC 0xfbfbfbf1 |
147 | 150 | ||
148 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
149 | |||
150 | /* define this if the unit can be powered or charged via USB */ | ||
151 | #define HAVE_USB_POWER | ||
152 | |||
153 | /* Define this if there is an EEPROM chip */ | 151 | /* Define this if there is an EEPROM chip */ |
154 | #define HAVE_EEPROM | 152 | #define HAVE_EEPROM |
155 | 153 | ||