summaryrefslogtreecommitdiff
path: root/firmware/export/config-ondiofm.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-ondiofm.h')
-rw-r--r--firmware/export/config-ondiofm.h31
1 files changed, 15 insertions, 16 deletions
diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h
index 93c0fccc8c..f9c2b191f1 100644
--- a/firmware/export/config-ondiofm.h
+++ b/firmware/export/config-ondiofm.h
@@ -46,11 +46,24 @@
46/* Enable this if you have done the backlight mod */ 46/* Enable this if you have done the backlight mod */
47//#define HAVE_BACKLIGHT 47//#define HAVE_BACKLIGHT
48 48
49#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
50
51/* define this if you have a flash memory storage */ 49/* define this if you have a flash memory storage */
52#define HAVE_FLASH_STORAGE 50#define HAVE_FLASH_STORAGE
53 51
52/* define this if more than one device/partition can be used */
53#define HAVE_MULTIVOLUME
54
55/* Type of mobile power */
56#define CONFIG_BATTERY BATT_3AAA
57#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
58#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
59#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
60#define BATTERY_CAPACITY_INC 50 /* capacity increment */
61#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
62#define BATTERY_SCALE_FACTOR 4735 /* average from 3 Ondios */
63
64/* define this if the unit can be powered or charged via USB */
65#define HAVE_USB_POWER
66
54#ifndef SIMULATOR 67#ifndef SIMULATOR
55 68
56/* Define this if you have a SH7034 */ 69/* Define this if you have a SH7034 */
@@ -62,14 +75,6 @@
62/* Define this for different I2C pinout */ 75/* Define this for different I2C pinout */
63#define CONFIG_I2C I2C_ONDIO 76#define CONFIG_I2C I2C_ONDIO
64 77
65/* Type of mobile power */
66#define CONFIG_BATTERY BATT_3AAA
67#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
68#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
69#define BATTERY_CAPACITY_INC 50 /* capacity increment */
70#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
71#define BATTERY_SCALE_FACTOR 4735 /* average from 3 Ondios */
72
73/* Define this if you control power on PB5 (instead of the OFF button) */ 78/* Define this if you control power on PB5 (instead of the OFF button) */
74#define HAVE_POWEROFF_ON_PB5 79#define HAVE_POWEROFF_ON_PB5
75 80
@@ -107,9 +112,6 @@
107/* Define this if the MAS SIBI line can be controlled via PB8 */ 112/* Define this if the MAS SIBI line can be controlled via PB8 */
108#define HAVE_MAS_SIBI_CONTROL 113#define HAVE_MAS_SIBI_CONTROL
109 114
110/* define this if more than one device/partition can be used */
111#define HAVE_MULTIVOLUME
112
113/* define this if media can be exchanged on the fly */ 115/* define this if media can be exchanged on the fly */
114#define HAVE_HOTSWAP 116#define HAVE_HOTSWAP
115 117
@@ -118,9 +120,6 @@
118 120
119#define CONFIG_LCD LCD_SSD1815 121#define CONFIG_LCD LCD_SSD1815
120 122
121/* define this if the unit can be powered or charged via USB */
122#define HAVE_USB_POWER
123
124#define BOOTFILE_EXT "ajz" 123#define BOOTFILE_EXT "ajz"
125#define BOOTFILE "ajbrec." BOOTFILE_EXT 124#define BOOTFILE "ajbrec." BOOTFILE_EXT
126#define BOOTDIR "/" 125#define BOOTDIR "/"