mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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:
parent
2570909e52
commit
c36d7768c5
13 changed files with 41 additions and 11 deletions
|
|
@ -65,14 +65,17 @@
|
|||
#define HAVE_LCD_SLEEP
|
||||
#define HAVE_LCD_SLEEP_SETTING
|
||||
*/
|
||||
#endif
|
||||
|
||||
/* define this if you can flip your LCD */
|
||||
#define HAVE_LCD_FLIP
|
||||
|
||||
/* define this if you can invert the colours on your LCD */
|
||||
#define HAVE_LCD_INVERT
|
||||
|
||||
#else /* !BOOTLOADER */
|
||||
#define DISABLE_ALPHA_BITMAP
|
||||
#define DISABLE_LOGO
|
||||
#define DISABLE_BACKTRACE
|
||||
#endif /* !BOOTLOADER */
|
||||
/* put the lcd frame buffer in IRAM */
|
||||
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR
|
||||
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ extern bool lcd_putsxy_scroll_func(int x, int y, const unsigned char *string,
|
|||
|
||||
/* performance function */
|
||||
#if defined(HAVE_LCD_COLOR)
|
||||
#if MEMORYSIZE > 2
|
||||
#if MEMORYSIZE > 2 && !defined(BOOTLOADER)
|
||||
#define LCD_YUV_DITHER 0x1
|
||||
extern void lcd_yuv_set_options(unsigned options);
|
||||
extern void lcd_blit_yuv(unsigned char * const src[3],
|
||||
|
|
|
|||
|
|
@ -266,8 +266,10 @@ static inline void cpu_boost_unlock(void)
|
|||
/* Define this if target has support for generating backtraces */
|
||||
#if defined(CPU_ARM) || \
|
||||
(defined(CPU_MIPS) && (CONFIG_PLATFORM & PLATFORM_NATIVE))
|
||||
#ifndef DISABLE_BACKTRACE
|
||||
#define HAVE_RB_BACKTRACE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MIN_STACK_ALIGN
|
||||
#define MIN_STACK_ALIGN (sizeof (uintptr_t))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue