forked from len0rd/rockbox
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
This commit is contained in:
parent
a9ab407f84
commit
12af2926e5
13 changed files with 421 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue