From c36d7768c539921754dd26ded343a08e11ccc0f0 Mon Sep 17 00:00:00 2001 From: Roman Artiukhin Date: Mon, 19 Feb 2024 13:59:51 +0200 Subject: 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 --- firmware/export/system.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/export/system.h') diff --git a/firmware/export/system.h b/firmware/export/system.h index 172fe05b6e..552540a1db 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -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)) -- cgit v1.2.3