mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
make the mini2440 simulator compile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23379 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bee5900032
commit
e5086076a0
4 changed files with 52 additions and 8 deletions
|
|
@ -68,6 +68,10 @@
|
|||
/* But the 3.5" LCD touch screen does not support brightness*/
|
||||
#define HAVE_BACKLIGHT
|
||||
#define HAVE_BACKLIGHT_BRIGHTNESS
|
||||
/* Main LCD backlight brightness range and defaults */
|
||||
#define MIN_BRIGHTNESS_SETTING 1 /* 0.5 mA */
|
||||
#define MAX_BRIGHTNESS_SETTING 12 /* 32 mA */
|
||||
#define DEFAULT_BRIGHTNESS_SETTING 10 /* 16 mA */
|
||||
|
||||
/* Keypad */
|
||||
#define CONFIG_KEYPAD MINI2440_PAD
|
||||
|
|
@ -93,11 +97,7 @@
|
|||
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
/* USB */
|
||||
/* TODO:#define HAVE_USBSTACK */
|
||||
#define USB_NONE
|
||||
|
||||
#define HAVE_SERIAL
|
||||
|
||||
/***************************************************************************/
|
||||
/* Application Config */
|
||||
|
|
@ -134,16 +134,19 @@
|
|||
#define MCK_FREQ (CPU_FREQ/4)
|
||||
#define SLOW_CLOCK 32768
|
||||
|
||||
/* Main LCD backlight brightness range and defaults */
|
||||
#define MIN_BRIGHTNESS_SETTING 1 /* 0.5 mA */
|
||||
#define MAX_BRIGHTNESS_SETTING 12 /* 32 mA */
|
||||
#define DEFAULT_BRIGHTNESS_SETTING 10 /* 16 mA */
|
||||
|
||||
/* Define this if your LCD can set contrast */
|
||||
#define HAVE_LCD_CONTRAST
|
||||
#define MIN_CONTRAST_SETTING 0
|
||||
#define MAX_CONTRAST_SETTING 63
|
||||
#define DEFAULT_CONTRAST_SETTING 47 /* Match boot contrast */
|
||||
|
||||
/* USB */
|
||||
/* TODO:#define HAVE_USBSTACK */
|
||||
#define USB_NONE
|
||||
|
||||
#define HAVE_SERIAL
|
||||
|
||||
/* Hardware controlled charging with monitoring */
|
||||
#define CONFIG_CHARGING CHARGING_MONITOR
|
||||
/*#define POWER_INPUT_BATTERY 0*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue