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-ipod4g.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-ipod4g.h')
-rw-r--r-- | firmware/export/config-ipod4g.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/firmware/export/config-ipod4g.h b/firmware/export/config-ipod4g.h index 14a4e8266d..46c1e53235 100644 --- a/firmware/export/config-ipod4g.h +++ b/firmware/export/config-ipod4g.h | |||
@@ -58,6 +58,9 @@ | |||
58 | /* define this if you have a real-time clock */ | 58 | /* define this if you have a real-time clock */ |
59 | #define CONFIG_RTC RTC_PCF50605 | 59 | #define CONFIG_RTC RTC_PCF50605 |
60 | 60 | ||
61 | /* Define if the device can wake from an RTC alarm */ | ||
62 | #define HAVE_RTC_ALARM | ||
63 | |||
61 | /* Define this if you have a software controlled poweroff */ | 64 | /* Define this if you have a software controlled poweroff */ |
62 | #define HAVE_SW_POWEROFF | 65 | #define HAVE_SW_POWEROFF |
63 | 66 | ||
@@ -76,18 +79,12 @@ | |||
76 | /* Define this for LCD backlight available */ | 79 | /* Define this for LCD backlight available */ |
77 | #define HAVE_BACKLIGHT | 80 | #define HAVE_BACKLIGHT |
78 | 81 | ||
79 | #define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */ | 82 | /* Define this if you can detect headphones */ |
80 | 83 | #define HAVE_HEADPHONE_DETECTION | |
81 | #ifndef SIMULATOR | ||
82 | |||
83 | /* Define this if you have a PortalPlayer PP5020 */ | ||
84 | #define CONFIG_CPU PP5020 | ||
85 | |||
86 | /* Define this if you want to use the PP5020 i2c interface */ | ||
87 | #define CONFIG_I2C I2C_PP5020 | ||
88 | 84 | ||
89 | /* Type of mobile power */ | 85 | /* Type of mobile power */ |
90 | #define CONFIG_BATTERY BATT_LIPOL1300 | 86 | #define CONFIG_BATTERY BATT_LIPOL1300 |
87 | #define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */ | ||
91 | #define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */ | 88 | #define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */ |
92 | #define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */ | 89 | #define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */ |
93 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ | 90 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ |
@@ -97,6 +94,17 @@ | |||
97 | /* Hardware controlled charging? FIXME */ | 94 | /* Hardware controlled charging? FIXME */ |
98 | //#define CONFIG_CHARGING CHARGING_SIMPLE | 95 | //#define CONFIG_CHARGING CHARGING_SIMPLE |
99 | 96 | ||
97 | /* define this if the unit can be powered or charged via USB */ | ||
98 | #define HAVE_USB_POWER | ||
99 | |||
100 | #ifndef SIMULATOR | ||
101 | |||
102 | /* Define this if you have a PortalPlayer PP5020 */ | ||
103 | #define CONFIG_CPU PP5020 | ||
104 | |||
105 | /* Define this if you want to use the PP5020 i2c interface */ | ||
106 | #define CONFIG_I2C I2C_PP5020 | ||
107 | |||
100 | /* define this if the hardware can be powered off while charging */ | 108 | /* define this if the hardware can be powered off while charging */ |
101 | //#define HAVE_POWEROFF_WHILE_CHARGING | 109 | //#define HAVE_POWEROFF_WHILE_CHARGING |
102 | 110 | ||
@@ -125,21 +133,12 @@ | |||
125 | /* USB On-the-go */ | 133 | /* USB On-the-go */ |
126 | #define CONFIG_USBOTG USBOTG_ARC | 134 | #define CONFIG_USBOTG USBOTG_ARC |
127 | 135 | ||
128 | /* define this if the unit can be powered or charged via USB */ | ||
129 | #define HAVE_USB_POWER | ||
130 | |||
131 | /* Virtual LED (icon) */ | 136 | /* Virtual LED (icon) */ |
132 | #define CONFIG_LED LED_VIRTUAL | 137 | #define CONFIG_LED LED_VIRTUAL |
133 | 138 | ||
134 | /* Define if the device can wake from an RTC alarm */ | ||
135 | #define HAVE_RTC_ALARM | ||
136 | |||
137 | /* Define this if you have adjustable CPU frequency */ | 139 | /* Define this if you have adjustable CPU frequency */ |
138 | #define HAVE_ADJUSTABLE_CPU_FREQ | 140 | #define HAVE_ADJUSTABLE_CPU_FREQ |
139 | 141 | ||
140 | /* Define this if you can detect headphones */ | ||
141 | #define HAVE_HEADPHONE_DETECTION | ||
142 | |||
143 | /* Define this if you can read an absolute wheel position */ | 142 | /* Define this if you can read an absolute wheel position */ |
144 | #define HAVE_WHEEL_POSITION | 143 | #define HAVE_WHEEL_POSITION |
145 | 144 | ||