From 8bdf08cd2d5e1fc8c8846869d443e67f8cf96753 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sat, 30 Mar 2024 14:09:32 +0000 Subject: Sansa e200v2: Enable thumb for bootloader by default Thumb bootloaders were confirmed to work in this post: https://forums.rockbox.org/index.php/topic,54768.msg253473.html#msg253473 Change-Id: Id52769b9b6a2acc167503fa61aec665f4090fdc1 --- tools/configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/configure b/tools/configure index 1f758a967d..adccc3e5e4 100755 --- a/tools/configure +++ b/tools/configure @@ -27,6 +27,7 @@ bindir= libdir= sharedir= +arm_thumb_boot= thread_support="ASSEMBLER_THREADS" sysfont="08-Schumacher-Clean" app_lcd_width= @@ -2511,6 +2512,7 @@ fi appextra="recorder:gui:radio" plugins="yes" toolset=$scramblebitmaptools + arm_thumb_boot=1 t_cpu="arm" t_manufacturer="as3525" t_model="sansa-e200v2" @@ -4233,6 +4235,9 @@ fi if test -n "$bootoutput"; then output=$bootoutput fi + if test -n "$arm_thumb_boot" && test -z "$ARG_ARM_THUMB"; then + ARG_ARM_THUMB=1 + fi extradefines="$extradefines -DBOOTLOADER -ffunction-sections -fdata-sections" bootloader="1" if [ -n "${sysfontbl}" ] ; then sysfont=$sysfontbl ; fi -- cgit v1.2.3