Skip to content

Commit 5d4285e

Browse files
committed
DM: fixed math lib paths for m0 boards
1 parent ed2087b commit 5d4285e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

boards.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ adafruit_feather_m0.build.vid=0x239A
4141
adafruit_feather_m0.build.pid=0x800B
4242
adafruit_feather_m0.bootloader.tool=openocd
4343
adafruit_feather_m0.bootloader.file=feather/samd21_sam_ba.bin
44-
adafruit_feather_m0.compiler.arm.cmsis.ldflags=-larm_cortexM0l_math
44+
adafruit_feather_m0.compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Lib/GCC/" -larm_cortexM0l_math
4545

4646
adafruit_feather_m0_express.name=Adafruit Feather M0 Express
4747
adafruit_feather_m0_express.vid.0=0x239A
@@ -69,6 +69,7 @@ adafruit_feather_m0_express.build.vid=0x239A
6969
adafruit_feather_m0_express.build.pid=0x801B
7070
adafruit_feather_m0_express.bootloader.tool=openocd
7171
adafruit_feather_m0_express.bootloader.file=feather/samd21_sam_ba.bin
72+
adafruit_feather_m0_express.compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Lib/GCC/" -larm_cortexM0l_math
7273

7374
#adafruit_radio_m0.name=Adafruit M0 Radio (Native USB Port)
7475
#adafruit_radio_m0.vid.0=0x239A
@@ -123,6 +124,7 @@ adafruit_metro_m0.build.vid=0x239A
123124
adafruit_metro_m0.build.pid=0x8013
124125
adafruit_metro_m0.bootloader.tool=openocd
125126
adafruit_metro_m0.bootloader.file=metro/samd21_sam_ba.bin
127+
adafruit_metro_m0.compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Lib/GCC/" -larm_cortexM0l_math
126128

127129
# Adafruit Circuit Playground M0
128130
# ------------------------------
@@ -152,6 +154,7 @@ adafruit_circuitplayground_m0.build.vid=0x239A
152154
adafruit_circuitplayground_m0.build.pid=0x8018
153155
adafruit_circuitplayground_m0.bootloader.tool=openocd
154156
adafruit_circuitplayground_m0.bootloader.file=circuitplay/circuitplay_m0_samd21g18_sam_ba.bin
157+
adafruit_circuitplayground_m0.compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Lib/GCC/" -larm_cortexM0l_math
155158

156159

157160
# Adafruit Metro M4 (SAMD51)

0 commit comments

Comments
 (0)