From 2a3acde58f15be79cb2d471c22d680eb6a0d18f6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 10 Jan 2005 21:54:28 +0000 Subject: gmini adjustments, with a new CONFIG_LCD setup being prepared git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5554 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-gmini120.h | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'firmware/export/config-gmini120.h') diff --git a/firmware/export/config-gmini120.h b/firmware/export/config-gmini120.h index 20804c5007..1a835be3e8 100644 --- a/firmware/export/config-gmini120.h +++ b/firmware/export/config-gmini120.h @@ -12,17 +12,31 @@ #define LCD_HEIGHT 64 /* When button.h is updated with gmini details, then fix this: */ -#define CONFIG_KEYPAD /*GMINI_PAD */ IRIVER_H100_PAD +#define CONFIG_KEYPAD GMINI100_PAD + +#define CONFIG_LCD GMINI100_LCD #ifndef SIMULATOR -/* Define this if you have a CalmRISC16 */ -#define CONFIG_CPU CR16 +/* 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 /* Type of mobile power, FIXME: probably different, make new type */ -#define CONFIG_BATTERY +#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) */ + +/* Always enable debug till we stabilize */ +#define EMULATOR +#define DEBUG + #endif -- cgit v1.2.3