File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
2
2
# Arduino SAM Core and platform.
3
+ # ------------------------------
3
4
#
4
5
# For more info:
5
6
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
@@ -10,14 +11,19 @@ version=1.6.3
10
11
# SAM3 compile variables
11
12
# ----------------------
12
13
14
+ compiler.warning_flags.none=-w
15
+ compiler.warning_flags.normal=
16
+ compiler.warning_flags.all=-Wall
17
+ compiler.warning_flags.extra=-Wall -Wextra
18
+
13
19
compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/
14
20
compiler.c.cmd=arm-none-eabi-gcc
15
- compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD
21
+ compiler.c.flags=-c -g -Os {compiler.warning_flags} -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD
16
22
compiler.c.elf.cmd=arm-none-eabi-gcc
17
23
compiler.c.elf.flags=-Os -Wl,--gc-sections
18
24
compiler.S.flags=-c -g -x assembler-with-cpp
19
25
compiler.cpp.cmd=arm-none-eabi-g++
20
- compiler.cpp.flags=-c -g -Os -w -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -MMD
26
+ compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -MMD
21
27
compiler.ar.cmd=arm-none-eabi-ar
22
28
compiler.ar.flags=rcs
23
29
compiler.objcopy.cmd=arm-none-eabi-objcopy
You can’t perform that action at this time.
0 commit comments