diff options
Diffstat (limited to 'firmware/export/config-ipodmini.h')
-rw-r--r-- | firmware/export/config-ipodmini.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/firmware/export/config-ipodmini.h b/firmware/export/config-ipodmini.h index 7fba883c9c..7f77681d1d 100644 --- a/firmware/export/config-ipodmini.h +++ b/firmware/export/config-ipodmini.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 | ||
@@ -69,18 +72,12 @@ | |||
69 | /* Define this for LCD backlight available */ | 72 | /* Define this for LCD backlight available */ |
70 | #define HAVE_BACKLIGHT | 73 | #define HAVE_BACKLIGHT |
71 | 74 | ||
72 | #define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ | 75 | /* Define this if you can detect headphones */ |
73 | 76 | #define HAVE_HEADPHONE_DETECTION | |
74 | #ifndef SIMULATOR | ||
75 | |||
76 | /* Define this if you have a PortalPlayer PP5020 */ | ||
77 | #define CONFIG_CPU PP5020 | ||
78 | |||
79 | /* Define this if you want to use the PP5020 i2c interface */ | ||
80 | #define CONFIG_I2C I2C_PP5020 | ||
81 | 77 | ||
82 | /* Type of mobile power */ | 78 | /* Type of mobile power */ |
83 | #define CONFIG_BATTERY BATT_LIPOL1300 | 79 | #define CONFIG_BATTERY BATT_LIPOL1300 |
80 | #define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ | ||
84 | #define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ | 81 | #define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ |
85 | #define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ | 82 | #define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ |
86 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ | 83 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ |
@@ -90,6 +87,17 @@ | |||
90 | /* Hardware controlled charging? FIXME */ | 87 | /* Hardware controlled charging? FIXME */ |
91 | //#define CONFIG_CHARGING CHARGING_SIMPLE | 88 | //#define CONFIG_CHARGING CHARGING_SIMPLE |
92 | 89 | ||
90 | /* define this if the unit can be powered or charged via USB */ | ||
91 | #define HAVE_USB_POWER | ||
92 | |||
93 | #ifndef SIMULATOR | ||
94 | |||
95 | /* Define this if you have a PortalPlayer PP5020 */ | ||
96 | #define CONFIG_CPU PP5020 | ||
97 | |||
98 | /* Define this if you want to use the PP5020 i2c interface */ | ||
99 | #define CONFIG_I2C I2C_PP5020 | ||
100 | |||
93 | /* define this if the hardware can be powered off while charging */ | 101 | /* define this if the hardware can be powered off while charging */ |
94 | //#define HAVE_POWEROFF_WHILE_CHARGING | 102 | //#define HAVE_POWEROFF_WHILE_CHARGING |
95 | 103 | ||
@@ -118,21 +126,12 @@ | |||
118 | /* USB On-the-go */ | 126 | /* USB On-the-go */ |
119 | #define CONFIG_USBOTG USBOTG_ARC | 127 | #define CONFIG_USBOTG USBOTG_ARC |
120 | 128 | ||
121 | /* define this if the unit can be powered or charged via USB */ | ||
122 | #define HAVE_USB_POWER | ||
123 | |||
124 | /* Virtual LED (icon) */ | 129 | /* Virtual LED (icon) */ |
125 | #define CONFIG_LED LED_VIRTUAL | 130 | #define CONFIG_LED LED_VIRTUAL |
126 | 131 | ||
127 | /* Define if the device can wake from an RTC alarm */ | ||
128 | #define HAVE_RTC_ALARM | ||
129 | |||
130 | /* Define this if you have adjustable CPU frequency */ | 132 | /* Define this if you have adjustable CPU frequency */ |
131 | #define HAVE_ADJUSTABLE_CPU_FREQ | 133 | #define HAVE_ADJUSTABLE_CPU_FREQ |
132 | 134 | ||
133 | /* Define this if you can detect headphones */ | ||
134 | #define HAVE_HEADPHONE_DETECTION | ||
135 | |||
136 | #define BOOTFILE_EXT "ipod" | 135 | #define BOOTFILE_EXT "ipod" |
137 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 136 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
138 | #define BOOTDIR "/.rockbox" | 137 | #define BOOTDIR "/.rockbox" |