Skip to content

Commit

Permalink
Don't use no-c++-exceptions version of libstdc++ (earlephilhower#280)
Browse files Browse the repository at this point in the history
Per earlephilhower#276, earlephilhower#277, earlephilhower#274 there seems to be an issue with interrupts and some
other low-level ARM operations when using the distributed libstdc++.

Use the default libstdc++ built with the toolchain, instead.

Fixes earlephilhower#277
Fixes earlephilhower#276
Fixes earlephilhower#274
  • Loading branch information
earlephilhower committed Aug 12, 2021
1 parent 28fe90e commit 8451bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ compiler.includes="-iprefix{runtime.platform.path}/" "@{runtime.platform.path}/l
compiler.flags=-Os -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions
compiler.wrap="@{runtime.platform.path}/lib/platform_wrap.txt"
compiler.libpico="{runtime.platform.path}/lib/libpico.a"
compiler.libstdcpp="{runtime.platform.path}/lib/libstdc++.a"
compiler.libstdcpp="-lstdc++"

compiler.c.cmd=arm-none-eabi-gcc
compiler.c.flags=-c {compiler.warning_flags} {compiler.defines} {compiler.flags} {compiler.includes} -std=gnu17 -g
Expand Down

0 comments on commit 8451bc2

Please sign in to comment.