Skip to content

Commit a55f7b5

Browse files
committed
fixed: fixed Serial.printf(%f) not working
1 parent 5871940 commit a55f7b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ compiler.objcopy.eep.flags=-O ihex -j .eeprom --set-section-flags=.eeprom=alloc,
4747
compiler.elf2hex.bin.flags=-O binary
4848
compiler.elf2hex.hex.flags=-O ihex -R .eeprom
4949
compiler.elf2hex.cmd=arm-none-eabi-objcopy
50-
compiler.ldflags=-mcpu={build.mcu} -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align
50+
compiler.ldflags=-mcpu={build.mcu} -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -u _printf_float -u _scanf_float
5151
compiler.size.cmd=arm-none-eabi-size
5252
compiler.define=-DARDUINO=
5353
compiler.readelf.cmd=arm-none-eabi-readelf
@@ -71,7 +71,7 @@ compiler.ar.extra_flags=
7171
compiler.elf2hex.extra_flags=
7272

7373
compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Include/" "-I{runtime.tools.CMSIS-Atmel-1.2.0.path}/CMSIS/Device/ATMEL/"
74-
compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Lib/GCC/" -larm_cortexM0l_math
74+
compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Lib/GCC/" -larm_cortexM0l_math
7575

7676
compiler.libraries.ldflags=
7777

0 commit comments

Comments
 (0)