Skip to content

Commit b49b07f

Browse files
committed
add architecture specific flag to compiler.S.flags
1 parent 9f91acc commit b49b07f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ compiler.c.flags=-mcpu={build.mcu} -mthumb -c -g {compiler.optimization_flags} {
4343
compiler.c.elf.cmd=arm-none-eabi-g++
4444
compiler.c.elf.flags={compiler.optimization_flags} -Wl,--gc-sections -save-temps
4545
compiler.S.cmd=arm-none-eabi-gcc
46-
compiler.S.flags=-c -g -x assembler-with-cpp -MMD
46+
compiler.S.flags=-mcpu={build.mcu} -mthumb -c -g -x assembler-with-cpp -MMD
4747
compiler.cpp.cmd=arm-none-eabi-g++
4848
compiler.cpp.flags=-mcpu={build.mcu} -mthumb -c -g {compiler.optimization_flags} {compiler.warning_flags} -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD
4949
compiler.ar.cmd=arm-none-eabi-ar

0 commit comments

Comments
 (0)