diff options
Diffstat (limited to 'firmware/export/config-h10.h')
-rw-r--r-- | firmware/export/config-h10.h | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h index 7a97f4c9bd..502b5b106e 100644 --- a/firmware/export/config-h10.h +++ b/firmware/export/config-h10.h | |||
@@ -41,6 +41,14 @@ | |||
41 | #define LCD_DEPTH 16 /* 65536 colours */ | 41 | #define LCD_DEPTH 16 /* 65536 colours */ |
42 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | 42 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ |
43 | 43 | ||
44 | /* Define this if your LCD can be enabled/disabled */ | ||
45 | #define HAVE_LCD_ENABLE | ||
46 | |||
47 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
48 | * should be defined as well. | ||
49 | * We can currently put the lcd to sleep but it won't wake up properly */ | ||
50 | #define HAVE_LCD_SLEEP | ||
51 | |||
44 | /* define this if you can flip your LCD */ | 52 | /* define this if you can flip your LCD */ |
45 | #define HAVE_LCD_FLIP | 53 | #define HAVE_LCD_FLIP |
46 | 54 | ||
@@ -83,20 +91,11 @@ | |||
83 | /* Define this for LCD backlight available */ | 91 | /* Define this for LCD backlight available */ |
84 | #define HAVE_BACKLIGHT | 92 | #define HAVE_BACKLIGHT |
85 | 93 | ||
86 | #define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */ | ||
87 | |||
88 | #define AB_REPEAT_ENABLE 1 | 94 | #define AB_REPEAT_ENABLE 1 |
89 | 95 | ||
90 | #ifndef SIMULATOR | ||
91 | |||
92 | /* Define this if you have a PortalPlayer PP5020 */ | ||
93 | #define CONFIG_CPU PP5020 | ||
94 | |||
95 | /* Define this if you want to use the PP5020 i2c interface */ | ||
96 | #define CONFIG_I2C I2C_PP5020 | ||
97 | |||
98 | /* Type of mobile power */ | 96 | /* Type of mobile power */ |
99 | #define CONFIG_BATTERY BATT_LPCS355385 | 97 | #define CONFIG_BATTERY BATT_LPCS355385 |
98 | #define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */ | ||
100 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ | 99 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ |
101 | #define BATTERY_CAPACITY_MAX 1600 /* max. capacity selectable */ | 100 | #define BATTERY_CAPACITY_MAX 1600 /* max. capacity selectable */ |
102 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ | 101 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ |
@@ -106,6 +105,17 @@ | |||
106 | /* Hardware controlled charging */ | 105 | /* Hardware controlled charging */ |
107 | #define CONFIG_CHARGING CHARGING_SIMPLE | 106 | #define CONFIG_CHARGING CHARGING_SIMPLE |
108 | 107 | ||
108 | /* define this if the unit can be powered or charged via USB */ | ||
109 | #define HAVE_USB_POWER | ||
110 | |||
111 | #ifndef SIMULATOR | ||
112 | |||
113 | /* Define this if you have a PortalPlayer PP5020 */ | ||
114 | #define CONFIG_CPU PP5020 | ||
115 | |||
116 | /* Define this if you want to use the PP5020 i2c interface */ | ||
117 | #define CONFIG_I2C I2C_PP5020 | ||
118 | |||
109 | /* define this if the hardware can be powered off while charging */ | 119 | /* define this if the hardware can be powered off while charging */ |
110 | #define HAVE_POWEROFF_WHILE_CHARGING | 120 | #define HAVE_POWEROFF_WHILE_CHARGING |
111 | 121 | ||
@@ -128,14 +138,6 @@ | |||
128 | #define MAX_CONTRAST_SETTING 30 | 138 | #define MAX_CONTRAST_SETTING 30 |
129 | #define DEFAULT_CONTRAST_SETTING 14 /* Match boot contrast */ | 139 | #define DEFAULT_CONTRAST_SETTING 14 /* Match boot contrast */ |
130 | 140 | ||
131 | /* Define this if your LCD can be enabled/disabled */ | ||
132 | #define HAVE_LCD_ENABLE | ||
133 | |||
134 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
135 | * should be defined as well. | ||
136 | * We can currently put the lcd to sleep but it won't wake up properly */ | ||
137 | #define HAVE_LCD_SLEEP | ||
138 | |||
139 | /* We're able to shut off power to the HDD */ | 141 | /* We're able to shut off power to the HDD */ |
140 | #define HAVE_ATA_POWER_OFF | 142 | #define HAVE_ATA_POWER_OFF |
141 | 143 | ||
@@ -149,9 +151,6 @@ | |||
149 | /* USB On-the-go */ | 151 | /* USB On-the-go */ |
150 | #define CONFIG_USBOTG USBOTG_ARC | 152 | #define CONFIG_USBOTG USBOTG_ARC |
151 | 153 | ||
152 | /* define this if the unit can be powered or charged via USB */ | ||
153 | #define HAVE_USB_POWER | ||
154 | |||
155 | /* Virtual LED (icon) */ | 154 | /* Virtual LED (icon) */ |
156 | #define CONFIG_LED LED_VIRTUAL | 155 | #define CONFIG_LED LED_VIRTUAL |
157 | 156 | ||