From e66ddd754fba4171e3fd99c5a1b911ed3f9faa3f Mon Sep 17 00:00:00 2001 From: Mark Arigo Date: Wed, 9 Jan 2008 07:24:43 +0000 Subject: Initial commit for the Olympus m:robe 100 port (PP5020). The LCD driver works. The ADC driver was copied from the H10 port (they can probably be combined later), but the battery readings aren't right and it shuts down. The touch pad buttons do not work. Install the bootloader and rockbox the H10 way. Still lots of work to do. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16030 a1c6a512-1295-4272-9138-f99709370657 --- bootloader/SOURCES | 3 ++- bootloader/main-pp.c | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'bootloader') diff --git a/bootloader/SOURCES b/bootloader/SOURCES index 11dfb667ae..b8d8d3ca6b 100644 --- a/bootloader/SOURCES +++ b/bootloader/SOURCES @@ -8,7 +8,8 @@ gigabeat.c gigabeat-s.c ../firmware/target/arm/imx31/gigabeat-s/mmu-imx31.c #elif defined(IRIVER_H10) || defined(IRIVER_H10_5GB) || \ - defined(SANSA_E200) || defined(SANSA_C200) + defined(SANSA_E200) || defined(SANSA_C200) || \ + defined(MROBE_100) #ifdef E200R_INSTALLER main-e200r-installer.c #else diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c index 3cf7691870..74c66233c0 100644 --- a/bootloader/main-pp.c +++ b/bootloader/main-pp.c @@ -54,6 +54,9 @@ #elif CONFIG_KEYPAD == SANSA_C200_PAD #define BOOTLOADER_BOOT_OF BUTTON_LEFT +#elif CONFIG_KEYPAD == MROBE100_PAD +#define BOOTLOADER_BOOT_OF BUTTON_LEFT + #endif /* Maximum allowed firmware image size. 10MB is more than enough */ @@ -444,8 +447,11 @@ void* main(void) i2c_init(); _backlight_on(); #endif + +#if LCD_DEPTH > 1 lcd_set_foreground(LCD_WHITE); lcd_set_background(LCD_BLACK); +#endif lcd_clear_display(); if (button_hold()) -- cgit v1.2.3