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-ipodmini2g.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-ipodmini2g.h')
-rw-r--r-- | firmware/export/config-ipodmini2g.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/firmware/export/config-ipodmini2g.h b/firmware/export/config-ipodmini2g.h index 032d32ad4c..76c64f47d4 100644 --- a/firmware/export/config-ipodmini2g.h +++ b/firmware/export/config-ipodmini2g.h | |||
@@ -48,6 +48,9 @@ | |||
48 | /* define this if you have a real-time clock */ | 48 | /* define this if you have a real-time clock */ |
49 | #define CONFIG_RTC RTC_PCF50605 | 49 | #define CONFIG_RTC RTC_PCF50605 |
50 | 50 | ||
51 | /* Define if the device can wake from an RTC alarm */ | ||
52 | #define HAVE_RTC_ALARM | ||
53 | |||
51 | /* Define this if you have a software controlled poweroff */ | 54 | /* Define this if you have a software controlled poweroff */ |
52 | #define HAVE_SW_POWEROFF | 55 | #define HAVE_SW_POWEROFF |
53 | 56 | ||
@@ -72,18 +75,12 @@ | |||
72 | /* We can fade the backlight by using PWM */ | 75 | /* We can fade the backlight by using PWM */ |
73 | #define HAVE_BACKLIGHT_PWM_FADING | 76 | #define HAVE_BACKLIGHT_PWM_FADING |
74 | 77 | ||
75 | #define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ | 78 | /* Define this if you can detect headphones */ |
76 | 79 | #define HAVE_HEADPHONE_DETECTION | |
77 | #ifndef SIMULATOR | ||
78 | |||
79 | /* Define this if you have a PortalPlayer PP5022 */ | ||
80 | #define CONFIG_CPU PP5022 | ||
81 | |||
82 | /* Define this if you want to use the PP5020 i2c interface */ | ||
83 | #define CONFIG_I2C I2C_PP5020 | ||
84 | 80 | ||
85 | /* Type of mobile power */ | 81 | /* Type of mobile power */ |
86 | #define CONFIG_BATTERY BATT_LIPOL1300 | 82 | #define CONFIG_BATTERY BATT_LIPOL1300 |
83 | #define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ | ||
87 | #define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ | 84 | #define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ |
88 | #define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ | 85 | #define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ |
89 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | 86 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ |
@@ -93,6 +90,17 @@ | |||
93 | /* Hardware controlled charging? FIXME */ | 90 | /* Hardware controlled charging? FIXME */ |
94 | //#define CONFIG_CHARGING CHARGING_SIMPLE | 91 | //#define CONFIG_CHARGING CHARGING_SIMPLE |
95 | 92 | ||
93 | /* define this if the unit can be powered or charged via USB */ | ||
94 | #define HAVE_USB_POWER | ||
95 | |||
96 | #ifndef SIMULATOR | ||
97 | |||
98 | /* Define this if you have a PortalPlayer PP5022 */ | ||
99 | #define CONFIG_CPU PP5022 | ||
100 | |||
101 | /* Define this if you want to use the PP5020 i2c interface */ | ||
102 | #define CONFIG_I2C I2C_PP5020 | ||
103 | |||
96 | /* define this if the hardware can be powered off while charging */ | 104 | /* define this if the hardware can be powered off while charging */ |
97 | //#define HAVE_POWEROFF_WHILE_CHARGING | 105 | //#define HAVE_POWEROFF_WHILE_CHARGING |
98 | 106 | ||
@@ -121,21 +129,12 @@ | |||
121 | /* USB On-the-go */ | 129 | /* USB On-the-go */ |
122 | #define CONFIG_USBOTG USBOTG_ARC | 130 | #define CONFIG_USBOTG USBOTG_ARC |
123 | 131 | ||
124 | /* define this if the unit can be powered or charged via USB */ | ||
125 | #define HAVE_USB_POWER | ||
126 | |||
127 | /* Virtual LED (icon) */ | 132 | /* Virtual LED (icon) */ |
128 | #define CONFIG_LED LED_VIRTUAL | 133 | #define CONFIG_LED LED_VIRTUAL |
129 | 134 | ||
130 | /* Define if the device can wake from an RTC alarm */ | ||
131 | #define HAVE_RTC_ALARM | ||
132 | |||
133 | /* Define this if you have adjustable CPU frequency */ | 135 | /* Define this if you have adjustable CPU frequency */ |
134 | #define HAVE_ADJUSTABLE_CPU_FREQ | 136 | #define HAVE_ADJUSTABLE_CPU_FREQ |
135 | 137 | ||
136 | /* Define this if you can detect headphones */ | ||
137 | #define HAVE_HEADPHONE_DETECTION | ||
138 | |||
139 | /* Define this if you can read an absolute wheel position */ | 138 | /* Define this if you can read an absolute wheel position */ |
140 | #define HAVE_WHEEL_POSITION | 139 | #define HAVE_WHEEL_POSITION |
141 | 140 | ||