summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config-gmini120.h4
-rw-r--r--firmware/export/config-gminisp.h53
2 files changed, 56 insertions, 1 deletions
diff --git a/firmware/export/config-gmini120.h b/firmware/export/config-gmini120.h
index d0b1b275d3..7b6af81a6b 100644
--- a/firmware/export/config-gmini120.h
+++ b/firmware/export/config-gmini120.h
@@ -7,11 +7,13 @@
7/* define this if you have a bitmap LCD display */ 7/* define this if you have a bitmap LCD display */
8#define HAVE_LCD_BITMAP 1 8#define HAVE_LCD_BITMAP 1
9 9
10/* define this if you have a real-time clock */
11#define HAVE_RTC 1
12
10/* LCD dimensions */ 13/* LCD dimensions */
11#define LCD_WIDTH 128 14#define LCD_WIDTH 128
12#define LCD_HEIGHT 64 15#define LCD_HEIGHT 64
13 16
14/* When button.h is updated with gmini details, then fix this: */
15#define CONFIG_KEYPAD GMINI100_PAD 17#define CONFIG_KEYPAD GMINI100_PAD
16 18
17#ifndef SIMULATOR 19#ifndef SIMULATOR
diff --git a/firmware/export/config-gminisp.h b/firmware/export/config-gminisp.h
new file mode 100644
index 0000000000..d85240bdd1
--- /dev/null
+++ b/firmware/export/config-gminisp.h
@@ -0,0 +1,53 @@
1/* Note: this is just a basic early version that needs attention and
2 corrections! */
3
4/* define this if you have a bitmap LCD display */
5#define HAVE_LCD_BITMAP 1
6
7/* LCD dimensions */
8#define LCD_WIDTH 128
9#define LCD_HEIGHT 64
10
11#define CONFIG_KEYPAD GMINI100_PAD
12
13#ifndef SIMULATOR
14
15/* Define this if you have a TCC730 (CalmRISC16) */
16#define CONFIG_CPU TCC730
17
18/* Define this if you have a gmini 100 style LCD */
19#define CONFIG_LCD LCD_GMINI100
20
21#define CONFIG_I2C I2C_GMINI
22
23/* Define this if you do software codec */
24#define CONFIG_HWCODEC MASNONE
25
26/* Type of mobile power, FIXME: probably different, make new type */
27#define CONFIG_BATTERY BATT_LIION2200
28#define BATTERY_SCALE_FACTOR 6465
29/* chosen values at random -- jyp */
30
31/* Define this if the platform can charge batteries */
32#define HAVE_CHARGING 1
33
34#define CPU_FREQ 30000000
35/* approximate value (and false in general since freq is variable) */
36
37/* Define this if you have a software controlled poweroff */
38#define HAVE_SW_POWEROFF
39
40/* Always enable debug till we stabilize */
41#define EMULATOR
42
43#define USB_GMINISTYLE
44
45#define CONFIG_I2C I2C_GMINI
46
47#define CONFIG_BACKLIGHT BL_GMINI
48
49#define GMINI_ARCH
50
51#define HAVE_LED
52
53#endif