summaryrefslogtreecommitdiff
path: root/firmware/export/config-ipodnano.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-ipodnano.h')
-rw-r--r--firmware/export/config-ipodnano.h37
1 files changed, 19 insertions, 18 deletions
diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h
index 546d9b85fc..a2f9e3249b 100644
--- a/firmware/export/config-ipodnano.h
+++ b/firmware/export/config-ipodnano.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
@@ -70,17 +73,12 @@
70/* We can fade the backlight by using PWM */ 73/* We can fade the backlight by using PWM */
71#define HAVE_BACKLIGHT_PWM_FADING 74#define HAVE_BACKLIGHT_PWM_FADING
72 75
76/* Define this if you can detect headphones */
77#define HAVE_HEADPHONE_DETECTION
78
73/* define this if you have a flash memory storage */ 79/* define this if you have a flash memory storage */
74#define HAVE_FLASH_STORAGE 80#define HAVE_FLASH_STORAGE
75 81
76#ifndef SIMULATOR
77
78/* Define this if you have a PortalPlayer PP5022 */
79#define CONFIG_CPU PP5022
80
81/* Define this if you want to use the PP5020 i2c interface */
82#define CONFIG_I2C I2C_PP5020
83
84/* Type of mobile power */ 82/* Type of mobile power */
85#define CONFIG_BATTERY BATT_LIION300 83#define CONFIG_BATTERY BATT_LIION300
86#define BATTERY_CAPACITY_DEFAULT 300 /* default battery capacity */ 84#define BATTERY_CAPACITY_DEFAULT 300 /* default battery capacity */
@@ -88,11 +86,23 @@
88#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */ 86#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
89#define BATTERY_CAPACITY_INC 20 /* capacity increment */ 87#define BATTERY_CAPACITY_INC 20 /* capacity increment */
90#define BATTERY_TYPES_COUNT 1 /* only one type */ 88#define BATTERY_TYPES_COUNT 1 /* only one type */
91#define BATTERY_SCALE_FACTOR 5840
92 89
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
104#define BATTERY_SCALE_FACTOR 5840
105
96/* define this if the hardware can be powered off while charging */ 106/* define this if the hardware can be powered off while charging */
97//#define HAVE_POWEROFF_WHILE_CHARGING 107//#define HAVE_POWEROFF_WHILE_CHARGING
98 108
@@ -121,21 +131,12 @@
121/* USB On-the-go */ 131/* USB On-the-go */
122#define CONFIG_USBOTG USBOTG_ARC 132#define CONFIG_USBOTG USBOTG_ARC
123 133
124/* define this if the unit can be powered or charged via USB */
125#define HAVE_USB_POWER
126
127/* Virtual LED (icon) */ 134/* Virtual LED (icon) */
128#define CONFIG_LED LED_VIRTUAL 135#define CONFIG_LED LED_VIRTUAL
129 136
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 */ 137/* Define this if you have adjustable CPU frequency */
134#define HAVE_ADJUSTABLE_CPU_FREQ 138#define HAVE_ADJUSTABLE_CPU_FREQ
135 139
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 */ 140/* Define this if you can read an absolute wheel position */
140#define HAVE_WHEEL_POSITION 141#define HAVE_WHEEL_POSITION
141 142