@@ -9,20 +9,18 @@ name=Arduino AVR Boards
9
9
version=1.6.10
10
10
11
11
# AVR compile variables
12
- # ---------------------
12
+ # ---------------------
13
13
14
14
compiler.warning_flags=-w
15
15
compiler.warning_flags.none=-w
16
16
compiler.warning_flags.default=
17
17
compiler.warning_flags.more=-Wall
18
18
compiler.warning_flags.all=-Wall -Wextra
19
19
20
- # Default "compiler.path" is correct, change only if you want to overidde the initial value
20
+ # Default "compiler.path" is correct, change only if you want to override the initial value
21
21
compiler.path={runtime.tools.avr-gcc.path}/bin/
22
22
compiler.c.cmd=avr-gcc
23
23
compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD
24
- # -w flag added to avoid printing a wrong warning http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59396
25
- # This is fixed in gcc 4.8.3 and will be removed as soon as we update the toolchain
26
24
compiler.c.elf.flags={compiler.warning_flags} -Os -Wl,--gc-sections
27
25
compiler.c.elf.cmd=avr-gcc
28
26
compiler.S.flags=-c -g -x assembler-with-cpp
@@ -37,7 +35,7 @@ compiler.elf2hex.cmd=avr-objcopy
37
35
compiler.ldflags=
38
36
compiler.size.cmd=avr-size
39
37
40
- # This can be overriden in boards.txt
38
+ # This can be overridden in boards.txt
41
39
build.extra_flags=
42
40
43
41
# These can be overridden in platform.local.txt
@@ -113,7 +111,7 @@ tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verb
113
111
114
112
115
113
# USB Default Flags
116
- # Default blank usb manufacturer will be filled it at compile time
114
+ # Default blank usb manufacturer will be filled in at compile time
117
115
# - from numeric vendor ID, set to Unknown otherwise
118
116
build.usb_manufacturer="Unknown"
119
117
build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
0 commit comments