diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2024-03-30 14:09:32 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2024-03-30 11:58:40 -0400 |
commit | 8bdf08cd2d5e1fc8c8846869d443e67f8cf96753 (patch) | |
tree | 011bc1e885dd56980d1a3b4e2e66a88637a14fdf /tools/configure | |
parent | 9f3d83d03f61837bd8e60d248abda523866670f2 (diff) | |
download | rockbox-8bdf08cd2d5e1fc8c8846869d443e67f8cf96753.tar.gz rockbox-8bdf08cd2d5e1fc8c8846869d443e67f8cf96753.zip |
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
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index 1f758a967d..adccc3e5e4 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -27,6 +27,7 @@ bindir= | |||
27 | libdir= | 27 | libdir= |
28 | sharedir= | 28 | sharedir= |
29 | 29 | ||
30 | arm_thumb_boot= | ||
30 | thread_support="ASSEMBLER_THREADS" | 31 | thread_support="ASSEMBLER_THREADS" |
31 | sysfont="08-Schumacher-Clean" | 32 | sysfont="08-Schumacher-Clean" |
32 | app_lcd_width= | 33 | app_lcd_width= |
@@ -2511,6 +2512,7 @@ fi | |||
2511 | appextra="recorder:gui:radio" | 2512 | appextra="recorder:gui:radio" |
2512 | plugins="yes" | 2513 | plugins="yes" |
2513 | toolset=$scramblebitmaptools | 2514 | toolset=$scramblebitmaptools |
2515 | arm_thumb_boot=1 | ||
2514 | t_cpu="arm" | 2516 | t_cpu="arm" |
2515 | t_manufacturer="as3525" | 2517 | t_manufacturer="as3525" |
2516 | t_model="sansa-e200v2" | 2518 | t_model="sansa-e200v2" |
@@ -4233,6 +4235,9 @@ fi | |||
4233 | if test -n "$bootoutput"; then | 4235 | if test -n "$bootoutput"; then |
4234 | output=$bootoutput | 4236 | output=$bootoutput |
4235 | fi | 4237 | fi |
4238 | if test -n "$arm_thumb_boot" && test -z "$ARG_ARM_THUMB"; then | ||
4239 | ARG_ARM_THUMB=1 | ||
4240 | fi | ||
4236 | extradefines="$extradefines -DBOOTLOADER -ffunction-sections -fdata-sections" | 4241 | extradefines="$extradefines -DBOOTLOADER -ffunction-sections -fdata-sections" |
4237 | bootloader="1" | 4242 | bootloader="1" |
4238 | if [ -n "${sysfontbl}" ] ; then sysfont=$sysfontbl ; fi | 4243 | if [ -n "${sysfontbl}" ] ; then sysfont=$sysfontbl ; fi |