@@ -30,13 +30,13 @@ compiler.warning_flags.all=-Wall -Wextra -Wno-unused-parameter -Wno-missing-fiel
30
30
31
31
compiler.path={runtime.tools.gcc-arm-none-eabi-5_2-2015q4.path}/bin/
32
32
compiler.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
34
34
compiler.c.elf.cmd=arm-none-eabi-gcc
35
35
compiler.c.elf.flags=-Os -Wl,--gc-sections -save-temps
36
36
compiler.S.cmd=arm-none-eabi-gcc
37
37
compiler.S.flags=-c -g -x assembler-with-cpp
38
38
compiler.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
40
40
compiler.ar.cmd=arm-none-eabi-ar
41
41
compiler.ar.flags=rcs
42
42
compiler.objcopy.cmd=arm-none-eabi-objcopy
@@ -51,7 +51,7 @@ compiler.size.cmd=arm-none-eabi-size
51
51
# this can be overriden in boards.txt
52
52
build.extra_flags=
53
53
build.lfclk_flags=-DUSE_LFXO
54
- build.debug_flags=
54
+ build.debug_flags=-DCFG_DEBUG=0 -Os
55
55
build.float_flags=-mfloat-abi=hard -mfpu=fpv4-sp-d16
56
56
build.ldscript=bluefruit52_s132_v201.ld
57
57
@@ -61,7 +61,7 @@ nffs.path={runtime.platform.path}/libraries/nffs/src
61
61
62
62
compiler.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"
63
63
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"
65
65
66
66
# These can be overridden in platform.local.txt
67
67
compiler.c.extra_flags=
0 commit comments