summaryrefslogtreecommitdiff
path: root/firmware/export/config-gminisp.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-gminisp.h')
-rw-r--r--firmware/export/config-gminisp.h53
1 files changed, 53 insertions, 0 deletions
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