diff options
| author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-05-02 23:25:55 +0000 |
|---|---|---|
| committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-05-02 23:25:55 +0000 |
| commit | fe2319372abd6b1f96bdc3ca45e5f6fa3165d6ed (patch) | |
| tree | 0b8c5e2543615640981b14a14de7bd651665b629 /firmware/export | |
| parent | d5f7dab2308859d98837f76f3b2374645130e082 (diff) | |
| download | rockbox-fe2319372abd6b1f96bdc3ca45e5f6fa3165d6ed.zip rockbox-fe2319372abd6b1f96bdc3ca45e5f6fa3165d6ed.tar.gz rockbox-fe2319372abd6b1f96bdc3ca45e5f6fa3165d6ed.tar.bz2 rockbox-fe2319372abd6b1f96bdc3ca45e5f6fa3165d6ed.tar.xz | |
M:Robe 500 - Fix some of the Keymaps, touchscreen improvements to decrease inacurate reads, add support for dynamic frequency (was running at 87.5 MHz, now it runs at 175 MHz when boosted), disable clock to unneded modules (decreased power by 20 mA), LCD turnoff now works without graphic glitches, battery ADC read now returns scaled voltage, define backlight fading
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20846 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/config-mrobe500.h | 19 | ||||
| -rw-r--r-- | firmware/export/tsc2100.h | 6 |
2 files changed, 15 insertions, 10 deletions
diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h index 78802e3..5a97d8b 100644 --- a/firmware/export/config-mrobe500.h +++ b/firmware/export/config-mrobe500.h @@ -82,9 +82,7 @@ /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE should be defined as well. */ #define HAVE_LCD_SLEEP -//#define HAVE_LCD_SLEEP_SETTING -/* Do this for now till lcd sleeping is working properly */ -#define LCD_SLEEP_TIMEOUT 0 +#define HAVE_LCD_SLEEP_SETTING /* remote LCD */ #define HAVE_REMOTE_LCD @@ -110,9 +108,14 @@ #define HAVE_TOUCHSCREEN #define HAVE_BUTTON_DATA +/* define this if the target has volume keys which can be used in the lists */ +#define HAVE_VOLUME_IN_LIST + /* Define this if you do software codec */ #define CONFIG_CODEC SWCODEC +//#define HAVE_HARDWARE_BEEP + /* There is no hardware tone control */ #define HAVE_SW_TONE_CONTROLS @@ -152,8 +155,8 @@ #define BATTERY_TYPES_COUNT 1 /* only one type */ /* define current usage levels */ -#define CURRENT_NORMAL 120 /* Measured */ -#define CURRENT_BACKLIGHT 80 /* Over 200 mA total measured when on */ +#define CURRENT_NORMAL 100 /* Measured */ +#define CURRENT_BACKLIGHT 100 /* Over 200 mA total measured when on */ #define CURRENT_RECORD 0 /* no recording */ /* Hardware controlled charging with monitoring */ @@ -178,11 +181,13 @@ #define FLASH_SIZE 0x400000 /* Define this to the CPU frequency */ -#define CPU_FREQ 16934400 +#define CPU_FREQ 87500000 /* Define this if you have ATA power-off control */ #define HAVE_ATA_POWER_OFF +#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_HW_REG + /* Virtual LED (icon) */ #define CONFIG_LED LED_VIRTUAL @@ -196,7 +201,7 @@ #define FIRMWARE_OFFSET_FILE_DATA 8 /* Define this if you have adjustable CPU frequency */ -/* #define HAVE_ADJUSTABLE_CPU_FREQ */ +#define HAVE_ADJUSTABLE_CPU_FREQ #define BOOTFILE_EXT "mrobe500" #define BOOTFILE "rockbox." BOOTFILE_EXT diff --git a/firmware/export/tsc2100.h b/firmware/export/tsc2100.h index 06714db..7a06593 100644 --- a/firmware/export/tsc2100.h +++ b/firmware/export/tsc2100.h @@ -22,9 +22,9 @@ #define __TSC2100_H_ void tsc2100_read_data(void); -void tsc2100_read_touch(short *x, short* y, short *z1, short *z2); -void tsc2100_read_volt(short *bat1, short *bat2, short *aux); -void tsc2100_set_mode(unsigned char scan_mode); +bool tsc2100_read_touch(short *x, short* y, short *z1, short *z2); +bool tsc2100_read_volt(short *bat1, short *bat2, short *aux); +void tsc2100_set_mode(bool poweron, unsigned char scan_mode); void tsc2100_adc_init(void); /* read a register */ |