@@ -9,20 +9,18 @@ name=Arduino AVR Boards
99version=1.6.10
1010
1111# AVR compile variables
12- # ---------------------
12+ # ---------------------
1313
1414compiler.warning_flags=-w
1515compiler.warning_flags.none=-w
1616compiler.warning_flags.default=
1717compiler.warning_flags.more=-Wall
1818compiler.warning_flags.all=-Wall -Wextra
1919
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
2121compiler.path={runtime.tools.avr-gcc.path}/bin/
2222compiler.c.cmd=avr-gcc
2323compiler.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
2624compiler.c.elf.flags={compiler.warning_flags} -Os -Wl,--gc-sections
2725compiler.c.elf.cmd=avr-gcc
2826compiler.S.flags=-c -g -x assembler-with-cpp
@@ -37,7 +35,7 @@ compiler.elf2hex.cmd=avr-objcopy
3735compiler.ldflags=
3836compiler.size.cmd=avr-size
3937
40- # This can be overriden in boards.txt
38+ # This can be overridden in boards.txt
4139build.extra_flags=
4240
4341# These can be overridden in platform.local.txt
@@ -113,7 +111,7 @@ tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verb
113111
114112
115113# 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
117115# - from numeric vendor ID, set to Unknown otherwise
118116build.usb_manufacturer="Unknown"
119117build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
0 commit comments