2005-01-04 15:00:55 +00:00
|
|
|
/* 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
|
|
|
|
|
2005-02-12 13:58:23 +00:00
|
|
|
/* define this if you have a real-time clock */
|
2005-12-04 15:23:47 +00:00
|
|
|
#define CONFIG_RTC RTC_M41ST84W
|
2005-02-12 13:58:23 +00:00
|
|
|
|
2005-12-04 13:05:56 +00:00
|
|
|
/* define this if you have RTC RAM available for settings */
|
|
|
|
#define HAVE_RTC_RAM 1
|
|
|
|
|
2005-01-04 15:00:55 +00:00
|
|
|
/* LCD dimensions */
|
|
|
|
#define LCD_WIDTH 128
|
|
|
|
#define LCD_HEIGHT 64
|
2005-07-04 06:25:31 +00:00
|
|
|
#define LCD_DEPTH 1
|
2005-01-04 15:00:55 +00:00
|
|
|
|
2005-01-10 21:54:28 +00:00
|
|
|
#define CONFIG_KEYPAD GMINI100_PAD
|
|
|
|
|
2005-06-22 23:24:45 +00:00
|
|
|
/* Define this if you have a software controlled poweroff */
|
|
|
|
#define HAVE_SW_POWEROFF
|
|
|
|
|
2005-06-27 21:23:03 +00:00
|
|
|
/* The number of bytes reserved for loadable codecs. Although in this case
|
|
|
|
the codec won't be loadable... */
|
|
|
|
#define CODEC_SIZE 0x40000
|
|
|
|
|
|
|
|
/* The number of bytes reserved for loadable plugins */
|
2006-01-18 00:05:14 +00:00
|
|
|
#define PLUGIN_BUFFER_SIZE 0x80000
|
2005-06-27 21:23:03 +00:00
|
|
|
|
2005-01-04 15:00:55 +00:00
|
|
|
#ifndef SIMULATOR
|
|
|
|
|
2005-01-10 21:54:28 +00:00
|
|
|
/* 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
|
2005-01-04 15:00:55 +00:00
|
|
|
|
2005-01-27 12:16:45 +00:00
|
|
|
#define CONFIG_I2C I2C_GMINI
|
|
|
|
|
2005-01-27 19:16:20 +00:00
|
|
|
/* Define this if you do software codec */
|
2005-08-29 21:15:27 +00:00
|
|
|
#define CONFIG_CODEC SWCODEC
|
2005-01-27 19:16:20 +00:00
|
|
|
|
2005-01-04 15:00:55 +00:00
|
|
|
/* Type of mobile power, FIXME: probably different, make new type */
|
2005-01-10 21:54:28 +00:00
|
|
|
#define CONFIG_BATTERY BATT_LIION2200
|
|
|
|
#define BATTERY_SCALE_FACTOR 6465
|
|
|
|
/* chosen values at random -- jyp */
|
2005-01-04 15:00:55 +00:00
|
|
|
|
|
|
|
/* Define this if the platform can charge batteries */
|
|
|
|
#define HAVE_CHARGING 1
|
|
|
|
|
2005-01-10 21:54:28 +00:00
|
|
|
#define CPU_FREQ 30000000
|
|
|
|
/* approximate value (and false in general since freq is variable) */
|
|
|
|
|
|
|
|
/* Always enable debug till we stabilize */
|
|
|
|
#define EMULATOR
|
2005-02-03 18:07:41 +00:00
|
|
|
|
|
|
|
#define USB_GMINISTYLE
|
|
|
|
|
2005-02-04 08:10:43 +00:00
|
|
|
#define CONFIG_I2C I2C_GMINI
|
2005-01-10 21:54:28 +00:00
|
|
|
|
2005-02-05 10:53:41 +00:00
|
|
|
#define CONFIG_BACKLIGHT BL_GMINI
|
|
|
|
|
2005-02-03 23:10:01 +00:00
|
|
|
#define GMINI_ARCH
|
|
|
|
|
2005-06-04 23:15:52 +00:00
|
|
|
/* Software controlled LED */
|
|
|
|
#define CONFIG_LED LED_REAL
|
2005-02-05 16:20:23 +00:00
|
|
|
|
2005-03-01 14:35:10 +00:00
|
|
|
/* Define this if you have adjustable CPU frequency */
|
|
|
|
#define HAVE_ADJUSTABLE_CPU_FREQ
|
|
|
|
|
2005-01-04 15:00:55 +00:00
|
|
|
#endif
|