Sansa e200v2: bootloader: fit size

Max allowed size: 120860
Old thumb build: 128494
New thumb build: 118514 (fits!)

Disabled:
Logo;
alpha blending capabilities for bitmaps;
Arm stack unwinder (backtrace);

Related forum discussion: https://forums.rockbox.org/index.php/topic,54768.0.html

Fixes FS#12380

Change-Id: I978720d795cb0ef5169103e467cf8386c21d8e93
This commit is contained in:
Roman Artiukhin 2024-02-19 13:59:51 +02:00 committed by Aidan MacDonald
parent 2570909e52
commit c36d7768c5
13 changed files with 41 additions and 11 deletions

View file

@ -25,8 +25,9 @@
#include <string.h>
#include "version.h"
#ifndef DISABLE_LOGO
#include "bitmaps/rockboxlogo.h"
#endif
#if LCD_WIDTH <= 128
#define BOOT_VERFMT "Boot %s"
#else
@ -54,7 +55,9 @@ void show_logo( void )
lcd_putsxy(text_xpos, 0, verstr);
lcd_bmp(&bm_rockboxlogo, LOGO_XPOS, 16);
#else
#ifndef DISABLE_LOGO
lcd_bmp(&bm_rockboxlogo, LOGO_XPOS, 10);
#endif
lcd_putsxy(text_xpos, LCD_HEIGHT-SYSFONT_HEIGHT, verstr);
#endif