diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2010-02-05 12:40:25 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-02-05 12:40:25 +0000 |
| commit | 12af2926e50450fe8a5aacbc1d4477b68fdd3e63 (patch) | |
| tree | e761118345fc8640ba181999e8575964f3975587 /bootloader | |
| parent | a9ab407f8460017d3c7189f0cbf4bd464e7a90ce (diff) | |
| download | rockbox-12af2926e50450fe8a5aacbc1d4477b68fdd3e63.zip rockbox-12af2926e50450fe8a5aacbc1d4477b68fdd3e63.tar.gz rockbox-12af2926e50450fe8a5aacbc1d4477b68fdd3e63.tar.bz2 rockbox-12af2926e50450fe8a5aacbc1d4477b68fdd3e63.tar.xz | |
Make Clip+ bootloader build
Now making the Fuzev2 bootloader build should be pretty easy
TODO:
- write button driver (FlynDice found all buttons already)
- find button light
- decide if lcd-ssd1303.c must be modified for Clip+ using SSP or forked
- check if backlight code works (I copied Clipv2 code)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24520 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
| -rw-r--r-- | bootloader/sansa_as3525.c | 3 | ||||
| -rw-r--r-- | bootloader/show_logo.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bootloader/sansa_as3525.c b/bootloader/sansa_as3525.c index 8d6090e..9248921 100644 --- a/bootloader/sansa_as3525.c +++ b/bootloader/sansa_as3525.c @@ -58,7 +58,8 @@ void main(void) button_init_device(); int btn = button_read_device(); -#if !defined(SANSA_FUZE) && !defined(SANSA_CLIP) && !defined(SANSA_CLIPV2) +#if !defined(SANSA_FUZE) && !defined(SANSA_CLIP) && !defined(SANSA_CLIPV2) \ + && !defined(SANSA_CLIPPLUS) if (button_hold()) { verbose = true; diff --git a/bootloader/show_logo.c b/bootloader/show_logo.c index 90cf222..09c6dbd 100644 --- a/bootloader/show_logo.c +++ b/bootloader/show_logo.c @@ -41,7 +41,7 @@ int show_logo( void ) lcd_clear_display(); lcd_setfont(FONT_SYSFIXED); -#if defined(SANSA_CLIP) || defined(SANSA_CLIPV2) +#if defined(SANSA_CLIP) || defined(SANSA_CLIPV2) || defined(SANSA_CLIPPLUS) /* The top 16 lines of the Sansa Clip screen are yellow, and the bottom 48 are blue, so we reverse the usual positioning */ lcd_putsxy(TEXT_XPOS, 0, BOOT_VERSION); |