summaryrefslogtreecommitdiff
path: root/firmware/export/config-gminisp.h
diff options
context:
space:
mode:
authorJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-02-12 13:58:23 +0000
committerJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-02-12 13:58:23 +0000
commit77a0cffc14195487b69532fb6eeaa9f0a907d7e3 (patch)
tree9960b0846f0aa232d7c6424aca0c86c6e9fd737c /firmware/export/config-gminisp.h
parent5203f0645e4c586da0a3151488097f8d29bf0d2b (diff)
downloadrockbox-77a0cffc14195487b69532fb6eeaa9f0a907d7e3.tar.gz
rockbox-77a0cffc14195487b69532fb6eeaa9f0a907d7e3.zip
somewhat better configuration for the gmini series
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5935 a1c6a512-1295-4272-9138-f99709370657
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