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