Skip to content

Commit 8f1280a

Browse files
committed
add --specs=nosys.specs to prevent build errors, update mbed core
1 parent 3ab1849 commit 8f1280a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ compiler.preproc.flags={compiler.cxx.flags} -w -x c++ -E -CC {compiler.preproc.e
4646
compiler.asm.flags=-include "{build.variant.path}/mbed/mbed_config.h" -iprefix "{runtime.platform.path}/cores/" "@{build.variant.path}/mbed/.asm-flags" {compiler.asm.extra_flags}
4747
compiler.c.flags=-iprefix "{runtime.platform.path}/cores/" "@{build.variant.path}/mbed/.c-flags" {compiler.c.extra_flags}
4848
compiler.cxx.flags=-include "{build.variant.path}/mbed/mbed_config.h" -include "{cores.path}/arduino/sdk/ArduinoSDK.h" -iprefix "{runtime.platform.path}/cores/" "@{build.variant.path}/mbed/.cxx-flags" {compiler.cxx.extra_flags}
49-
compiler.ld.flags="@{build.variant.path}/mbed/.ld-flags" {compiler.ld.extra_flags} --specs=nano.specs -lsupc++ -lstdc++ -lm
49+
compiler.ld.flags="@{build.variant.path}/mbed/.ld-flags" {compiler.ld.extra_flags} --specs=nano.specs --specs=nosys.specs -lsupc++ -lstdc++ -lm
5050
compiler.ar.flags=rcsP {compiler.ar.extra_flags} {compiler.ar.extra_flags}
5151
compiler.axf2bin.flags={compiler.axf2bin.extra_flags} {compiler.axf2bin.extra_flags} -O binary
5252
compiler.axf2hex.flags={compiler.axf2hex.extra_flags} {compiler.axf2hex.extra_flags} -O ihex

0 commit comments

Comments
 (0)