2020# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
2121
2222name=Mysensors SAMD (32-bits ARM Cortex-M0+) Boards
23- version=1.0.4
23+ version=1.0.5
2424
2525# Compile variables
2626# -----------------
@@ -64,7 +64,7 @@ compiler.S.extra_flags=
6464compiler.ar.extra_flags=
6565compiler.elf2hex.extra_flags=
6666
67- compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Include/" "-I{runtime.tools.CMSIS-Atmel-1.0 .0.path}/CMSIS/Device/ATMEL/"
67+ compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Include/" "-I{runtime.tools.CMSIS-Atmel-1.1 .0.path}/CMSIS/Device/ATMEL/"
6868compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Lib/GCC/" -larm_cortexM0l_math
6969
7070# USB Flags
@@ -126,8 +126,7 @@ tools.avrdude.upload.params.quiet=-q -q
126126tools.avrdude.upload.params.noverify=-V
127127tools.avrdude.upload.pattern="{cmd}" "-C{config.path}" {upload.verbose} -p{build.emu.mcu} -c{upload.protocol} -P{serial.port} -b{upload.speed} "-Uflash:w:{build.path}/{build.project_name}.hex:i"
128128
129- #temporary disabled remote upload
130- tools.avrdude_remote.upload.pattern=/usr/bin/XXX-run-avrdude /tmp/sketch.hex
129+ tools.avrdude_remote.upload.pattern="openocd --version 2>&1 | grep 2016 && if opkg update; then opkg upgrade openocd; exit 1; else echo 'Please connect your board to the Internet in order to upgrade tools' >&2; exit 1; fi || /usr/bin/run-avrdude /tmp/sketch.hex"
131130
132131#
133132# BOSSA
@@ -146,7 +145,7 @@ tools.bossac_remote.upload.pattern=/usr/bin/run-bossac {upload.verbose} --port=t
146145# OpenOCD sketch upload
147146#
148147
149- tools.openocd.path={runtime.tools.openocd-0.9.0-arduino .path}
148+ tools.openocd.path={runtime.tools.openocd-0.9.0-arduino5-static .path}
150149tools.openocd.cmd=bin/openocd
151150tools.openocd.cmd.windows=bin/openocd.exe
152151
@@ -172,7 +171,7 @@ tools.openocd.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{path}/
172171# FIXME: this programmer is a workaround for default options being overwritten by uploadUsingPreferences
173172#
174173
175- tools.openocd-withbootsize.path={runtime.tools.openocd-0.9.0-arduino .path}
174+ tools.openocd-withbootsize.path={runtime.tools.openocd-0.9.0-arduino5-static .path}
176175tools.openocd-withbootsize.cmd=bin/openocd
177176tools.openocd-withbootsize.cmd.windows=bin/openocd.exe
178177
@@ -191,4 +190,4 @@ tools.openocd-withbootsize.erase.pattern=
191190
192191tools.openocd-withbootsize.bootloader.params.verbose=-d2
193192tools.openocd-withbootsize.bootloader.params.quiet=-d0
194- tools.openocd-withbootsize.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "telnet_port disabled; init; halt; at91samd bootloader 0; program {{{runtime.platform.path}/bootloaders/{bootloader.file}}} verify reset; shutdown"
193+ tools.openocd-withbootsize.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "telnet_port disabled; init; halt; at91samd bootloader 0; program {{{runtime.platform.path}/bootloaders/{bootloader.file}}} verify reset; shutdown"
0 commit comments