From 8acc5c30b3a61447f350162d2b6a0c241b2d32a0 Mon Sep 17 00:00:00 2001 From: dzid26 Date: Sun, 4 Aug 2024 13:23:26 +0100 Subject: [PATCH] Fixed semihost testing Seems like platformio change GetBuildType string to "debug, test" --- firmware/linker_options_pio.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/firmware/linker_options_pio.py b/firmware/linker_options_pio.py index f18fd98..260c5b0 100644 --- a/firmware/linker_options_pio.py +++ b/firmware/linker_options_pio.py @@ -17,13 +17,8 @@ ) -if(env.GetBuildType()=="debug+test"): +if(env.GetBuildType()=="debug, test"): env.Append( - # Remove stub implementations - BUILD_UNFLAGS=[ - "-lnosys", - "--specs=nosys.specs", - ], # Use the semihosted version of the syscalls LINKFLAGS=[