diff options
Diffstat (limited to 'firmware/export/config-recorderv2.h')
-rw-r--r-- | firmware/export/config-recorderv2.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/firmware/export/config-recorderv2.h b/firmware/export/config-recorderv2.h index b534be568f..fc1461066a 100644 --- a/firmware/export/config-recorderv2.h +++ b/firmware/export/config-recorderv2.h | |||
@@ -35,6 +35,9 @@ | |||
35 | /* define this if you have a real-time clock */ | 35 | /* define this if you have a real-time clock */ |
36 | #define CONFIG_RTC RTC_M41ST84W | 36 | #define CONFIG_RTC RTC_M41ST84W |
37 | 37 | ||
38 | /* FM recorders can wake up from RTC alarm */ | ||
39 | #define HAVE_RTC_ALARM | ||
40 | |||
38 | /* define this if you have RTC RAM available for settings */ | 41 | /* define this if you have RTC RAM available for settings */ |
39 | #define HAVE_RTC_RAM | 42 | #define HAVE_RTC_RAM |
40 | 43 | ||
@@ -54,7 +57,21 @@ | |||
54 | 57 | ||
55 | #define CONFIG_I2C I2C_PLAYREC | 58 | #define CONFIG_I2C I2C_PLAYREC |
56 | 59 | ||
60 | /* Type of mobile power */ | ||
61 | #define CONFIG_BATTERY BATT_LIION2200 | ||
57 | #define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */ | 62 | #define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */ |
63 | #define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */ | ||
64 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | ||
65 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
66 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
67 | /* Battery scale factor (guessed, seems to be 1,25 * value from recorder) */ | ||
68 | #define BATTERY_SCALE_FACTOR 8081 | ||
69 | |||
70 | /* Hardware controlled charging with monitoring */ | ||
71 | #define CONFIG_CHARGING CHARGING_MONITOR | ||
72 | |||
73 | /* define this if the unit can be powered or charged via USB */ | ||
74 | #define HAVE_USB_POWER | ||
58 | 75 | ||
59 | #ifndef SIMULATOR | 76 | #ifndef SIMULATOR |
60 | 77 | ||
@@ -73,15 +90,6 @@ | |||
73 | /* Define this to the CPU frequency */ | 90 | /* Define this to the CPU frequency */ |
74 | #define CPU_FREQ 11059200 | 91 | #define CPU_FREQ 11059200 |
75 | 92 | ||
76 | /* Type of mobile power */ | ||
77 | #define CONFIG_BATTERY BATT_LIION2200 | ||
78 | #define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */ | ||
79 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | ||
80 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
81 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
82 | /* Battery scale factor (guessed, seems to be 1,25 * value from recorder) */ | ||
83 | #define BATTERY_SCALE_FACTOR 8081 | ||
84 | |||
85 | /* Define this if you control power on PB5 (instead of the OFF button) */ | 93 | /* Define this if you control power on PB5 (instead of the OFF button) */ |
86 | #define HAVE_POWEROFF_ON_PB5 | 94 | #define HAVE_POWEROFF_ON_PB5 |
87 | 95 | ||
@@ -94,15 +102,9 @@ | |||
94 | /* Offset ( in the firmware file's header ) to the real data */ | 102 | /* Offset ( in the firmware file's header ) to the real data */ |
95 | #define FIRMWARE_OFFSET_FILE_DATA 24 | 103 | #define FIRMWARE_OFFSET_FILE_DATA 24 |
96 | 104 | ||
97 | /* FM recorders can wake up from RTC alarm */ | ||
98 | #define HAVE_RTC_ALARM | ||
99 | |||
100 | /* Define this if you have an FM Radio */ | 105 | /* Define this if you have an FM Radio */ |
101 | #define CONFIG_TUNER S1A0903X01 | 106 | #define CONFIG_TUNER S1A0903X01 |
102 | 107 | ||
103 | /* Hardware controlled charging with monitoring */ | ||
104 | #define CONFIG_CHARGING CHARGING_MONITOR | ||
105 | |||
106 | /* The start address index for ROM builds */ | 108 | /* The start address index for ROM builds */ |
107 | /* #define ROM_START 0x12010 for behind original Archos */ | 109 | /* #define ROM_START 0x12010 for behind original Archos */ |
108 | #define ROM_START 0x7010 /* for behind BootBox */ | 110 | #define ROM_START 0x7010 /* for behind BootBox */ |
@@ -110,9 +112,6 @@ | |||
110 | /* Software controlled LED */ | 112 | /* Software controlled LED */ |
111 | #define CONFIG_LED LED_REAL | 113 | #define CONFIG_LED LED_REAL |
112 | 114 | ||
113 | /* define this if the unit can be powered or charged via USB */ | ||
114 | #define HAVE_USB_POWER | ||
115 | |||
116 | #define CONFIG_LCD LCD_SSD1815 | 115 | #define CONFIG_LCD LCD_SSD1815 |
117 | 116 | ||
118 | #define BOOTFILE_EXT "ajz" | 117 | #define BOOTFILE_EXT "ajz" |