mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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
This commit is contained in:
parent
b07321e1f6
commit
2a3acde58f
2 changed files with 24 additions and 6 deletions
|
@ -12,17 +12,31 @@
|
||||||
#define LCD_HEIGHT 64
|
#define LCD_HEIGHT 64
|
||||||
|
|
||||||
/* When button.h is updated with gmini details, then fix this: */
|
/* 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
|
#ifndef SIMULATOR
|
||||||
|
|
||||||
/* Define this if you have a CalmRISC16 */
|
/* Define this if you have a TCC730 (CalmRISC16) */
|
||||||
#define CONFIG_CPU CR16
|
#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 */
|
/* 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 this if the platform can charge batteries */
|
||||||
#define HAVE_CHARGING 1
|
#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
|
#endif
|
||||||
|
|
|
@ -34,20 +34,24 @@
|
||||||
/* CONFIG_CPU */
|
/* CONFIG_CPU */
|
||||||
#define SH7034 7034
|
#define SH7034 7034
|
||||||
#define MCF5249 5249
|
#define MCF5249 5249
|
||||||
#define CR16 16 /* lacking a proper abbrivation */
|
#define TCC730 730 /* 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
|
#define GMINI100_PAD 4
|
||||||
|
|
||||||
/* CONFIG_BATTERY */
|
/* CONFIG_BATTERY */
|
||||||
#define BATT_LIION2200 2200 /* FM/V2 recorder type */
|
#define BATT_LIION2200 2200 /* FM/V2 recorder type */
|
||||||
#define BATT_4AA_NIMH 1500
|
#define BATT_4AA_NIMH 1500
|
||||||
#define BATT_3AAA_ALKALINE 1000
|
#define BATT_3AAA_ALKALINE 1000
|
||||||
|
|
||||||
|
/* CONFIG_LCD */
|
||||||
|
#define LCD_GMINI100 0
|
||||||
|
#define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */
|
||||||
|
|
||||||
/* CONFIG_BACKLIGHT */
|
/* CONFIG_BACKLIGHT */
|
||||||
#define BL_PA14_LO 0 /* Player, PA14 low active */
|
#define BL_PA14_LO 0 /* Player, PA14 low active */
|
||||||
#define BL_RTC 1 /* Recorder, RTC square wave output */
|
#define BL_RTC 1 /* Recorder, RTC square wave output */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue