@@ -30,13 +30,13 @@ compiler.warning_flags.all=-Wall -Wextra -Wno-unused-parameter -Wno-missing-fiel
3030
3131compiler.path={runtime.tools.gcc-arm-none-eabi-5_2-2015q4.path}/bin/
3232compiler.c.cmd=arm-none-eabi-gcc
33- compiler.c.flags=-mcpu={build.mcu} -mthumb -c -g -Os {compiler.warning_flags} {build.float_flags} -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -MMD -DSOFTDEVICE_PRESENT
33+ compiler.c.flags=-mcpu={build.mcu} -mthumb -c -g {compiler.warning_flags} {build.float_flags} -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -MMD -DSOFTDEVICE_PRESENT
3434compiler.c.elf.cmd=arm-none-eabi-gcc
3535compiler.c.elf.flags=-Os -Wl,--gc-sections -save-temps
3636compiler.S.cmd=arm-none-eabi-gcc
3737compiler.S.flags=-c -g -x assembler-with-cpp
3838compiler.cpp.cmd=arm-none-eabi-g++
39- compiler.cpp.flags=-mcpu={build.mcu} -mthumb -c -g -Os {compiler.warning_flags} {build.float_flags} -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD
39+ compiler.cpp.flags=-mcpu={build.mcu} -mthumb -c -g {compiler.warning_flags} {build.float_flags} -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD
4040compiler.ar.cmd=arm-none-eabi-ar
4141compiler.ar.flags=rcs
4242compiler.objcopy.cmd=arm-none-eabi-objcopy
@@ -51,7 +51,7 @@ compiler.size.cmd=arm-none-eabi-size
5151# this can be overriden in boards.txt
5252build.extra_flags=
5353build.lfclk_flags=-DUSE_LFXO
54- build.debug_flags=
54+ build.debug_flags=-DCFG_DEBUG=0 -Os
5555build.float_flags=-mfloat-abi=hard -mfpu=fpv4-sp-d16
5656build.ldscript=bluefruit52_s132_v201.ld
5757
@@ -61,7 +61,7 @@ nffs.path={runtime.platform.path}/libraries/nffs/src
6161
6262compiler.nrf.flags=-DARDUINO_NRF52_ADAFRUIT -DNRF5 -DNRF52 -DS132 "-I{nrf.sdk.path}/components/toolchain/" "-I{nrf.sdk.path}/components/toolchain/CMSIS/Include" "-I{nrf.sdk.path}/components/toolchain/gcc/" "-I{nrf.sdk.path}/components/device/" "-I{nrf.sdk.path}/components/drivers_nrf/delay/" "-I{nrf.sdk.path}/components/softdevice/s132/headers/" "-I{rtos.path}/source/include" "-I{rtos.path}/config" "-I{rtos.path}/portable/GCC/nrf52" "-I{rtos.path}/portable/CMSIS/nrf52"
6363
64- nffs.includes="-I{nffs.path}/fs/nffs/include" "-I{nffs.path}/fs/fs/include" "-I{nffs.path}/util/crc/include" "-I{nffs.path}/kernel/os/include" "-I{nffs.path}/kernel/os/include/os/arch/cortex_m4" "-I{nffs.path}/hw/hal/include" "-I{nffs.path}/sys/flash_map/include"
64+ nffs.includes="-I{nffs.path}/fs/nffs/include" "-I{nffs.path}/fs/fs/include" "-I{nffs.path}/util/crc/include" "-I{nffs.path}/kernel/os/include" "-I{nffs.path}/kernel/os/include/os/arch/cortex_m4" "-I{nffs.path}/hw/hal/include" "-I{nffs.path}/sys/flash_map/include" "-I{nffs.path}/sys/defs/include"
6565
6666# These can be overridden in platform.local.txt
6767compiler.c.extra_flags=
0 commit comments