summaryrefslogtreecommitdiff
path: root/firmware/export/config-fmrecorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-fmrecorder.h')
-rw-r--r--firmware/export/config-fmrecorder.h35
1 files changed, 17 insertions, 18 deletions
diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h
index 479815ee2c..2f5254f3bc 100644
--- a/firmware/export/config-fmrecorder.h
+++ b/firmware/export/config-fmrecorder.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
@@ -57,7 +60,21 @@
57 60
58#define CONFIG_I2C I2C_PLAYREC 61#define CONFIG_I2C I2C_PLAYREC
59 62
63/* Type of mobile power */
64#define CONFIG_BATTERY BATT_LIION2200
60#define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */ 65#define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */
66#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */
67#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
68#define BATTERY_CAPACITY_INC 50 /* capacity increment */
69#define BATTERY_TYPES_COUNT 1 /* only one type */
70/* Battery scale factor (guessed, seems to be 1,25 * value from recorder) */
71#define BATTERY_SCALE_FACTOR 8081
72
73/* Hardware controlled charging with monitoring */
74#define CONFIG_CHARGING CHARGING_MONITOR
75
76/* define this if the unit can be powered or charged via USB */
77#define HAVE_USB_POWER
61 78
62#ifndef SIMULATOR 79#ifndef SIMULATOR
63 80
@@ -76,15 +93,6 @@
76/* Define this to the CPU frequency */ 93/* Define this to the CPU frequency */
77#define CPU_FREQ 11059200 94#define CPU_FREQ 11059200
78 95
79/* Type of mobile power */
80#define CONFIG_BATTERY BATT_LIION2200
81#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */
82#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
83#define BATTERY_CAPACITY_INC 50 /* capacity increment */
84#define BATTERY_TYPES_COUNT 1 /* only one type */
85/* Battery scale factor (guessed, seems to be 1,25 * value from recorder) */
86#define BATTERY_SCALE_FACTOR 8081
87
88/* Define this if you control power on PB5 (instead of the OFF button) */ 96/* Define this if you control power on PB5 (instead of the OFF button) */
89#define HAVE_POWEROFF_ON_PB5 97#define HAVE_POWEROFF_ON_PB5
90 98
@@ -97,12 +105,6 @@
97/* Offset ( in the firmware file's header ) to the real data */ 105/* Offset ( in the firmware file's header ) to the real data */
98#define FIRMWARE_OFFSET_FILE_DATA 24 106#define FIRMWARE_OFFSET_FILE_DATA 24
99 107
100/* FM recorders can wake up from RTC alarm */
101#define HAVE_RTC_ALARM
102
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 0x14010 for behind original Archos */ 109/* #define ROM_START 0x14010 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"