Skip to content

Commit 0047704

Browse files
committed
Removing iprintf to obtain sprintf float working
Signed-off-by: Thibaut VIARD <[email protected]>
1 parent 1649991 commit 0047704

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

platform.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ version=1.8.0
1111

1212
compiler.path={runtime.ide.path}/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/
1313
compiler.c.cmd=arm-none-eabi-gcc
14-
compiler.c.flags=-mcpu={build.mcu} -mthumb -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf
15-
#-std=gnu99
14+
compiler.c.flags=-mcpu={build.mcu} -mthumb -c -g -Os -Wall -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500
1615
compiler.c.elf.cmd=arm-none-eabi-gcc
1716
compiler.c.elf.flags=-Os -Wl,--gc-sections -save-temps
1817
compiler.S.flags=-c -g -x assembler-with-cpp
1918
compiler.cpp.cmd=arm-none-eabi-g++
20-
compiler.cpp.flags=-mcpu={build.mcu} -mthumb -c -g -Os -w -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf
21-
#-std=gnu++11
19+
compiler.cpp.flags=-mcpu={build.mcu} -mthumb -c -g -Os -Wall -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions
2220
compiler.ar.cmd=arm-none-eabi-ar
2321
compiler.ar.flags=rcs
2422
compiler.objcopy.cmd=arm-none-eabi-objcopy

0 commit comments

Comments
 (0)