From 521ecb81625a7cfa6f74432054c1fb2cf5c89a00 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 4 Jan 2005 15:00:55 +0000 Subject: 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 --- firmware/export/config-gmini120.h | 28 ++++++++++++++++++++++++++++ firmware/export/config.h | 4 ++++ 2 files changed, 32 insertions(+) create mode 100644 firmware/export/config-gmini120.h 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 -- cgit v1.2.3