summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-01-04 15:00:55 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-01-04 15:00:55 +0000
commit521ecb81625a7cfa6f74432054c1fb2cf5c89a00 (patch)
tree9b710d9e0a92af8450080ba0d8bd485c5d3b2bfe /firmware
parent72fdf373e0d06b10ece9ae5dec959ae67feb6bcd (diff)
downloadrockbox-521ecb81625a7cfa6f74432054c1fb2cf5c89a00.tar.gz
rockbox-521ecb81625a7cfa6f74432054c1fb2cf5c89a00.tar.bz2
rockbox-521ecb81625a7cfa6f74432054c1fb2cf5c89a00.zip
Early and basic gmini 120 config. Needs attention and corrections.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5532 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config-gmini120.h28
-rw-r--r--firmware/export/config.h4
2 files changed, 32 insertions, 0 deletions
diff --git a/firmware/export/config-gmini120.h b/firmware/export/config-gmini120.h
new file mode 100644
index 0000000000..20804c5007
--- /dev/null
+++ b/firmware/export/config-gmini120.h
@@ -0,0 +1,28 @@
+/* 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
+
+/* LCD dimensions */
+#define LCD_WIDTH 128
+#define LCD_HEIGHT 64
+
+/* When button.h is updated with gmini details, then fix this: */
+#define CONFIG_KEYPAD /*GMINI_PAD */ IRIVER_H100_PAD
+
+#ifndef SIMULATOR
+
+/* Define this if you have a CalmRISC16 */
+#define CONFIG_CPU CR16
+
+/* Type of mobile power, FIXME: probably different, make new type */
+#define CONFIG_BATTERY
+
+/* Define this if the platform can charge batteries */
+#define HAVE_CHARGING 1
+
+#endif
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 7c0e285bbe..45e8d890e3 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -34,12 +34,14 @@
/* CONFIG_CPU */
#define SH7034 7034
#define MCF5249 5249
+#define CR16 16 /* lacking a proper abbrivation */
/* CONFIG_KEYPAD */
#define PLAYER_PAD 0
#define RECORDER_PAD 1
#define ONDIO_PAD 2
#define IRIVER_H100_PAD 3
+#define GMINI_PAD 4
/* CONFIG_BATTERY */
#define BATT_LIION2200 2200 /* FM/V2 recorder type */
@@ -67,6 +69,8 @@
#include "config-ondiofm.h"
#elif defined(IRIVER_H100)
#include "config-h100.h"
+#elif defined(ARCHOS_GMINI120)
+#include "config-gmini120.h"
#else
/* no known platform */
#endif