summaryrefslogtreecommitdiff
path: root/firmware
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
parent5203f0645e4c586da0a3151488097f8d29bf0d2b (diff)
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')
-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 @@
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP 1
+/* define this if you have a real-time clock */
+#define HAVE_RTC 1
+
/* LCD dimensions */
#define LCD_WIDTH 128
#define LCD_HEIGHT 64
-/* When button.h is updated with gmini details, then fix this: */
#define CONFIG_KEYPAD GMINI100_PAD
#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 @@
+/* Note: this is just a basic early version that needs attention and
+ corrections! */
+
+/* define this if you have a bitmap LCD display */
+#define HAVE_LCD_BITMAP 1
+
+/* LCD dimensions */
+#define LCD_WIDTH 128
+#define LCD_HEIGHT 64
+
+#define CONFIG_KEYPAD GMINI100_PAD
+
+#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_HWCODEC MASNONE
+
+/* 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) */
+
+/* Define this if you have a software controlled poweroff */
+#define HAVE_SW_POWEROFF
+
+/* Always enable debug till we stabilize */
+#define EMULATOR
+
+#define USB_GMINISTYLE
+
+#define CONFIG_I2C I2C_GMINI
+
+#define CONFIG_BACKLIGHT BL_GMINI
+
+#define GMINI_ARCH
+
+#define HAVE_LED
+
+#endif