1
1
# Pinoccio AVR Core and platform.
2
2
name=Pinoccio AVR boards
3
3
version=1.0.0
4
+
4
5
# AVR compile variables
5
6
# ---------------------
6
7
@@ -10,7 +11,7 @@ compiler.c.cmd=avr-gcc
10
11
compiler.c.flags=-c -g -Os -w -std=gnu99 -ffunction-sections -fdata-sections -MMD
11
12
compiler.c.elf.flags=-Os -Wl,--gc-sections
12
13
compiler.c.elf.cmd=avr-gcc
13
- compiler.S.flags=-c -g -assembler-with-cpp
14
+ compiler.S.flags=-c -g -x assembler-with-cpp
14
15
compiler.cpp.cmd=avr-g++
15
16
compiler.cpp.flags=-c -g -Os -w -std=gnu++98 -fno-exceptions -ffunction-sections -fdata-sections -MMD
16
17
compiler.ar.cmd=avr-ar
@@ -60,8 +61,6 @@ recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).*
60
61
61
62
tools.avrdude.cmd.path={runtime.ide.path}/hardware/tools/avr/bin/avrdude
62
63
tools.avrdude.config.path={runtime.ide.path}/hardware/tools/avr/etc/avrdude.conf
63
- tools.avrdude.cmd.path.linux={runtime.ide.path}/hardware/tools/avrdude
64
- tools.avrdude.config.path.linux={runtime.ide.path}/hardware/tools/avrdude.conf
65
64
66
65
tools.avrdude.upload.params.verbose=-v -v -v -v
67
66
tools.avrdude.upload.params.quiet=-q -q
@@ -77,5 +76,11 @@ tools.avrdude.erase.pattern="{cmd.path}" "-C{config.path}" {erase.verbose} -p{bu
77
76
78
77
tools.avrdude.bootloader.params.verbose=-v -v -v -v
79
78
tools.avrdude.bootloader.params.quiet=-q -q
80
- tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{runtime.ide.path}/hardware/arduino/avr/bootloaders/{bootloader.file}:i" -Ulock:w:{bootloader.lock_bits}:m
79
+ tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{runtime.platform.path}/bootloaders/{bootloader.file}:i" -Ulock:w:{bootloader.lock_bits}:m
80
+
81
81
82
+ # USB Default Flags
83
+ # Default blank usb manufacturer will be filled it at compile time
84
+ # - from numeric vendor ID, set to Unknown otherwise
85
+ build.usb_manufacturer=
86
+ build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
0 commit comments