1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Daniel Stenberg 2005-01-04 15:00:55 +00:00
parent 72fdf373e0
commit 521ecb8162
2 changed files with 32 additions and 0 deletions

View file

@ -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

View file

@ -34,12 +34,14 @@
/* CONFIG_CPU */ /* CONFIG_CPU */
#define SH7034 7034 #define SH7034 7034
#define MCF5249 5249 #define MCF5249 5249
#define CR16 16 /* lacking a proper abbrivation */
/* CONFIG_KEYPAD */ /* CONFIG_KEYPAD */
#define PLAYER_PAD 0 #define PLAYER_PAD 0
#define RECORDER_PAD 1 #define RECORDER_PAD 1
#define ONDIO_PAD 2 #define ONDIO_PAD 2
#define IRIVER_H100_PAD 3 #define IRIVER_H100_PAD 3
#define GMINI_PAD 4
/* CONFIG_BATTERY */ /* CONFIG_BATTERY */
#define BATT_LIION2200 2200 /* FM/V2 recorder type */ #define BATT_LIION2200 2200 /* FM/V2 recorder type */
@ -67,6 +69,8 @@
#include "config-ondiofm.h" #include "config-ondiofm.h"
#elif defined(IRIVER_H100) #elif defined(IRIVER_H100)
#include "config-h100.h" #include "config-h100.h"
#elif defined(ARCHOS_GMINI120)
#include "config-gmini120.h"
#else #else
/* no known platform */ /* no known platform */
#endif #endif