diff options
Diffstat (limited to 'firmware/export/config-ipod3g.h')
-rw-r--r-- | firmware/export/config-ipod3g.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/firmware/export/config-ipod3g.h b/firmware/export/config-ipod3g.h index b356fc5ac0..64aa14941b 100644 --- a/firmware/export/config-ipod3g.h +++ b/firmware/export/config-ipod3g.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 | ||
@@ -66,7 +69,20 @@ | |||
66 | /* Define this for LCD backlight available */ | 69 | /* Define this for LCD backlight available */ |
67 | #define HAVE_BACKLIGHT | 70 | #define HAVE_BACKLIGHT |
68 | 71 | ||
72 | /* Define this if you can detect headphones */ | ||
73 | #define HAVE_HEADPHONE_DETECTION | ||
74 | |||
75 | /* Type of mobile power */ | ||
76 | #define CONFIG_BATTERY BATT_LIPOL1300 | ||
69 | #define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */ | 77 | #define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */ |
78 | #define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */ | ||
79 | #define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */ | ||
80 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ | ||
81 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
82 | #define BATTERY_SCALE_FACTOR 5865 | ||
83 | |||
84 | /* Hardware controlled charging? FIXME */ | ||
85 | //#define CONFIG_CHARGING CHARGING_SIMPLE | ||
70 | 86 | ||
71 | #ifndef SIMULATOR | 87 | #ifndef SIMULATOR |
72 | 88 | ||
@@ -79,17 +95,6 @@ | |||
79 | /* Define this if you want to use the PP5002 i2c interface */ | 95 | /* Define this if you want to use the PP5002 i2c interface */ |
80 | #define CONFIG_I2C I2C_PP5002 | 96 | #define CONFIG_I2C I2C_PP5002 |
81 | 97 | ||
82 | /* Type of mobile power */ | ||
83 | #define CONFIG_BATTERY BATT_LIPOL1300 | ||
84 | #define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */ | ||
85 | #define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */ | ||
86 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ | ||
87 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
88 | #define BATTERY_SCALE_FACTOR 5865 | ||
89 | |||
90 | /* Hardware controlled charging? FIXME */ | ||
91 | //#define CONFIG_CHARGING CHARGING_SIMPLE | ||
92 | |||
93 | /* define this if the hardware can be powered off while charging */ | 98 | /* define this if the hardware can be powered off while charging */ |
94 | //#define HAVE_POWEROFF_WHILE_CHARGING | 99 | //#define HAVE_POWEROFF_WHILE_CHARGING |
95 | 100 | ||
@@ -119,15 +124,9 @@ | |||
119 | /* Virtual LED (icon) */ | 124 | /* Virtual LED (icon) */ |
120 | #define CONFIG_LED LED_VIRTUAL | 125 | #define CONFIG_LED LED_VIRTUAL |
121 | 126 | ||
122 | /* Define if the device can wake from an RTC alarm */ | ||
123 | #define HAVE_RTC_ALARM | ||
124 | |||
125 | /* Define this if you have adjustable CPU frequency */ | 127 | /* Define this if you have adjustable CPU frequency */ |
126 | #define HAVE_ADJUSTABLE_CPU_FREQ | 128 | #define HAVE_ADJUSTABLE_CPU_FREQ |
127 | 129 | ||
128 | /* Define this if you can detect headphones */ | ||
129 | #define HAVE_HEADPHONE_DETECTION | ||
130 | |||
131 | #define BOOTFILE_EXT "ipod" | 130 | #define BOOTFILE_EXT "ipod" |
132 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 131 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
133 | #define BOOTDIR "/.rockbox" | 132 | #define BOOTDIR "/.rockbox" |