summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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