summaryrefslogtreecommitdiff
path: root/firmware/export/system.h
diff options
context:
space:
mode:
authorRoman Artiukhin <bahusdrive@gmail.com>2024-02-19 13:59:51 +0200
committerAidan MacDonald <amachronic@protonmail.com>2024-04-01 11:02:04 -0400
commitc36d7768c539921754dd26ded343a08e11ccc0f0 (patch)
tree2001649699a6d646f6d2fc4ec5400841ee293277 /firmware/export/system.h
parent2570909e52b4121d69b0bc6638af8882dae87176 (diff)
downloadrockbox-c36d7768c539921754dd26ded343a08e11ccc0f0.tar.gz
rockbox-c36d7768c539921754dd26ded343a08e11ccc0f0.zip
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
Diffstat (limited to 'firmware/export/system.h')
-rw-r--r--firmware/export/system.h2
1 files changed, 2 insertions, 0 deletions
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)
266/* Define this if target has support for generating backtraces */ 266/* Define this if target has support for generating backtraces */
267#if defined(CPU_ARM) || \ 267#if defined(CPU_ARM) || \
268 (defined(CPU_MIPS) && (CONFIG_PLATFORM & PLATFORM_NATIVE)) 268 (defined(CPU_MIPS) && (CONFIG_PLATFORM & PLATFORM_NATIVE))
269#ifndef DISABLE_BACKTRACE
269 #define HAVE_RB_BACKTRACE 270 #define HAVE_RB_BACKTRACE
270#endif 271#endif
272#endif
271 273
272#ifndef MIN_STACK_ALIGN 274#ifndef MIN_STACK_ALIGN
273#define MIN_STACK_ALIGN (sizeof (uintptr_t)) 275#define MIN_STACK_ALIGN (sizeof (uintptr_t))