diff --git a/platform.txt b/platform.txt index 13d2ce5a..61009d5d 100644 --- a/platform.txt +++ b/platform.txt @@ -31,7 +31,7 @@ compiler.warning_flags.default= compiler.warning_flags.more=-Wall -Wno-expansion-to-defined compiler.warning_flags.all=-Wall -Wextra -Wno-expansion-to-defined -compiler.path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/ +compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/ compiler.c.cmd=arm-none-eabi-gcc compiler.c.flags=-mcpu={build.mcu} -mthumb -c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -MMD -D__SKETCH_NAME__="""{build.project_name}""" compiler.c.elf.cmd=arm-none-eabi-g++