summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-gmini120.h2
-rw-r--r--firmware/export/config-ondiofm.h3
-rw-r--r--firmware/export/config-ondiosp.h2
-rw-r--r--firmware/export/config.h5
4 files changed, 11 insertions, 1 deletions
diff --git a/firmware/export/config-gmini120.h b/firmware/export/config-gmini120.h
index 47dbb2c899..e5b69a0c1d 100644
--- a/firmware/export/config-gmini120.h
+++ b/firmware/export/config-gmini120.h
@@ -22,6 +22,8 @@
22/* Define this if you have a gmini 100 style LCD */ 22/* Define this if you have a gmini 100 style LCD */
23#define CONFIG_LCD LCD_GMINI100 23#define CONFIG_LCD LCD_GMINI100
24 24
25#define CONFIG_I2C I2C_GMINI
26
25/* Type of mobile power, FIXME: probably different, make new type */ 27/* Type of mobile power, FIXME: probably different, make new type */
26#define CONFIG_BATTERY BATT_LIION2200 28#define CONFIG_BATTERY BATT_LIION2200
27#define BATTERY_SCALE_FACTOR 6465 29#define BATTERY_SCALE_FACTOR 6465
diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h
index 9a3993c53f..7e72921a36 100644
--- a/firmware/export/config-ondiofm.h
+++ b/firmware/export/config-ondiofm.h
@@ -22,6 +22,9 @@
22/* Define this to the CPU frequency */ 22/* Define this to the CPU frequency */
23#define CPU_FREQ 12000000 23#define CPU_FREQ 12000000
24 24
25/* Define this for different I2C pinout */
26#define CONFIG_I2C I2C_ONDIO
27
25/* Type of mobile power */ 28/* Type of mobile power */
26#define CONFIG_BATTERY BATT_3AAA_ALKALINE 29#define CONFIG_BATTERY BATT_3AAA_ALKALINE
27 30
diff --git a/firmware/export/config-ondiosp.h b/firmware/export/config-ondiosp.h
index 89a17420c5..1118c54a1e 100644
--- a/firmware/export/config-ondiosp.h
+++ b/firmware/export/config-ondiosp.h
@@ -50,7 +50,7 @@
50#define HAVE_DISPLAY_FLIPPED 50#define HAVE_DISPLAY_FLIPPED
51 51
52/* Define this for different I2C pinout */ 52/* Define this for different I2C pinout */
53#define HAVE_ONDIO_I2C 53#define CONFIG_I2C I2C_ONDIO
54 54
55/* Define this for different ADC channel assignment */ 55/* Define this for different ADC channel assignment */
56#define HAVE_ONDIO_ADC 56#define HAVE_ONDIO_ADC
diff --git a/firmware/export/config.h b/firmware/export/config.h
index c6431298ef..6a1e896979 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -60,6 +60,11 @@
60#define BL_PA14_HI 2 /* Ondio, PA14 high active */ 60#define BL_PA14_HI 2 /* Ondio, PA14 high active */
61#define BL_IRIVER 3 /* IRiver GPIO */ 61#define BL_IRIVER 3 /* IRiver GPIO */
62 62
63/* CONFIG_I2C */
64#define I2C_PLAYREC 0 /* Archos Player/Recorder style */
65#define I2C_ONDIO 1 /* Ondio style */
66#define I2C_GMINI 2 /* Gmini style */
67
63/* now go and pick yours */ 68/* now go and pick yours */
64#if defined(ARCHOS_PLAYER) 69#if defined(ARCHOS_PLAYER)
65#include "config-player.h" 70#include "config-player.h"