summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2008-01-09 07:24:43 +0000
committerMark Arigo <markarigo@gmail.com>2008-01-09 07:24:43 +0000
commite66ddd754fba4171e3fd99c5a1b911ed3f9faa3f (patch)
tree918000a401ae36817091cc4561573a5578f87ba5 /bootloader
parentf59a327f674c36487ed04e6cf36369a622da7f40 (diff)
downloadrockbox-e66ddd754fba4171e3fd99c5a1b911ed3f9faa3f.tar.gz
rockbox-e66ddd754fba4171e3fd99c5a1b911ed3f9faa3f.zip
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
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/SOURCES3
-rw-r--r--bootloader/main-pp.c6
2 files changed, 8 insertions, 1 deletions
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())