Skip to content

Commit 8807a0d

Browse files
facchinmcmaglie
authored andcommitted
add support for remote upload on Yun shield
1 parent ab92151 commit 8807a0d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

hardware/arduino/avr/platform.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ tools.avrdude.bootloader.params.verbose=-v
113113
tools.avrdude.bootloader.params.quiet=-q -q
114114
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
115115

116+
tools.avrdude_remote.upload.pattern=/usr/bin/run-avrdude /tmp/sketch.hex {upload.verbose} -p{build.mcu}
116117

117118
# USB Default Flags
118119
# Default blank usb manufacturer will be filled in at compile time

hardware/arduino/sam/platform.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,4 @@ tools.bossac.upload.params.quiet=
105105
tools.bossac.upload.params.verify=-v
106106
tools.bossac.upload.pattern="{path}/{cmd}" {upload.verbose} --port={serial.port.file} -U {upload.native_usb} -e -w {upload.verify} -b "{build.path}/{build.project_name}.bin" -R
107107

108+
tools.bossac_remote.upload.pattern=/usr/bin/run-bossac {upload.verbose} --port=ttyATH0 -U {upload.native_usb} -e -w -v -b /tmp/sketch.bin -R

0 commit comments

Comments
 (0)