summaryrefslogtreecommitdiff
path: root/firmware/export/config-gmini120.h
blob: 8ffe51c433cc4039b5594001adce67aa6afd1b61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/* Note: this is just a basic early version that needs attention and
   corrections! */

/* define this if you have recording possibility */
#define HAVE_RECORDING 1

/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP 1

/* define this if you have a real-time clock */
#define CONFIG_RTC RTC_M41ST84W

/* define this if you have RTC RAM available for settings */
#define HAVE_RTC_RAM 1

/* LCD dimensions */
#define LCD_WIDTH  128
#define LCD_HEIGHT 64
#define LCD_DEPTH  1

#define CONFIG_KEYPAD GMINI100_PAD

/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF

/* The number of bytes reserved for loadable codecs. Although in this case
   the codec won't be loadable... */
#define CODEC_SIZE 0x40000

/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000

#ifndef SIMULATOR

/* Define this if you have a TCC730 (CalmRISC16) */
#define CONFIG_CPU TCC730

/* Define this if you have a gmini 100 style LCD */
#define CONFIG_LCD LCD_GMINI100

#define CONFIG_I2C I2C_GMINI

/* Define this if you do software codec */
#define CONFIG_CODEC SWCODEC

/* Type of mobile power, FIXME: probably different, make new type */
#define CONFIG_BATTERY BATT_LIION2200
#define BATTERY_SCALE_FACTOR 6465
/* chosen values at random -- jyp */

/* Define this if the platform can charge batteries */
#define HAVE_CHARGING 1

#define CPU_FREQ 30000000
/* approximate value (and false in general since freq is variable) */

/* Always enable debug till we stabilize */
#define EMULATOR

#define USB_GMINISTYLE

#define CONFIG_I2C I2C_GMINI

#define CONFIG_BACKLIGHT BL_GMINI

#define GMINI_ARCH

/* Software controlled LED */
#define CONFIG_LED LED_REAL

/* Define this if you have adjustable CPU frequency */
#define HAVE_ADJUSTABLE_CPU_FREQ

#endif