diff options
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index f5bc7788d7..85c83015bd 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -184,6 +184,15 @@ | |||
184 | * charging or specific programming is required to | 184 | * charging or specific programming is required to |
185 | * use the charging hardware. */ | 185 | * use the charging hardware. */ |
186 | 186 | ||
187 | /* CONFIG_BATTERY_MEASURE bits */ | ||
188 | #define VOLTAGE_MEASURE 1 /* Target can report battery voltage | ||
189 | * Usually native ports */ | ||
190 | #define PERCENTAGE_MEASURE 2 /* Target can report remaining capacity in % | ||
191 | * Usually application/hosted ports */ | ||
192 | #define TIME_MEASURE 4 /* Target can report remaining time estimation | ||
193 | Usually application ports, and only | ||
194 | if the estimation is better that ours | ||
195 | (which it probably is) */ | ||
187 | /* CONFIG_LCD */ | 196 | /* CONFIG_LCD */ |
188 | #define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */ | 197 | #define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */ |
189 | #define LCD_SSD1801 2 /* as used by Archos Player/Studio */ | 198 | #define LCD_SSD1801 2 /* as used by Archos Player/Studio */ |
@@ -603,6 +612,11 @@ Lyre prototype 1 */ | |||
603 | #define CONFIG_CHARGING 0 | 612 | #define CONFIG_CHARGING 0 |
604 | #endif | 613 | #endif |
605 | 614 | ||
615 | #ifndef CONFIG_BATTERY_MEASURE | ||
616 | #define CONFIG_BATTERY_MEASURE 0 | ||
617 | #define NO_LOW_BATTERY_SHUTDOWN | ||
618 | #endif | ||
619 | |||
606 | #ifndef CONFIG_RTC | 620 | #ifndef CONFIG_RTC |
607 | #define CONFIG_RTC 0 | 621 | #define CONFIG_RTC 0 |
608 | #endif | 622 | #endif |
@@ -611,6 +625,10 @@ Lyre prototype 1 */ | |||
611 | #define BATTERY_TYPES_COUNT 0 | 625 | #define BATTERY_TYPES_COUNT 0 |
612 | #endif | 626 | #endif |
613 | 627 | ||
628 | #ifndef BATTERY_CAPACITY_DEFAULT | ||
629 | #define BATTERY_CAPACITY_DEFAULT 0 | ||
630 | #endif | ||
631 | |||
614 | #ifndef BATTERY_CAPACITY_INC | 632 | #ifndef BATTERY_CAPACITY_INC |
615 | #define BATTERY_CAPACITY_INC 0 | 633 | #define BATTERY_CAPACITY_INC 0 |
616 | #endif | 634 | #endif |