diff options
author | Silvano Cerza <3314350+silvanocerza@users.noreply.github.com> | 2021-12-01 18:03:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 18:03:19 +0100 |
commit | 6154b7a7c1fba34737562aa4c29cec7451a82989 (patch) | |
tree | 5dc49e3eb5f33fa2c648e9a3ccbeaebbc64043cd /platform.txt | |
parent | a1c76c0651192587f495d88b419553edd12a4881 (diff) | |
parent | 525be9e725744c29f8c3b3fa4c216ce4f768e035 (diff) |
Merge pull request #440 from arduino/scerza/fix-java-ide-network-upload
Fix legacy `upload.network_pattern` rule
Diffstat (limited to 'platform.txt')
-rw-r--r-- | platform.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/platform.txt b/platform.txt index 9fbc7bb..0fb8678 100644 --- a/platform.txt +++ b/platform.txt @@ -126,8 +126,10 @@ tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verb tools.avrdude_remote.upload.pattern=/usr/bin/run-avrdude /tmp/sketch.hex {upload.verbose} -p{build.mcu} -# the following rule is deprecated by pluggable discovery -tools.avrdude.upload.network_pattern="{tools.arduino_ota.cmd}" -address {serial.port} -port {upload.network.port} -sketch "{build.path}/{build.project_name}.hex" -upload {upload.network.endpoint_upload} -sync {upload.network.endpoint_sync} -reset {upload.network.endpoint_reset} -sync_exp {upload.network.sync_return} +# The following rule is deprecated by pluggable discovery. +# We keep it to avoid breaking compatibility with the Arduino Java IDE. +tools.avrdude.network_cmd={runtime.tools.arduinoOTA.path}/bin/arduinoOTA +tools.avrdude.upload.network_pattern="{network_cmd}" -address {serial.port} -port {upload.network.port} -sketch "{build.path}/{build.project_name}.hex" -upload {upload.network.endpoint_upload} -sync {upload.network.endpoint_sync} -reset {upload.network.endpoint_reset} -sync_exp {upload.network.sync_return} # arduino ota tools.arduino_ota.cmd={runtime.tools.arduinoOTA.path}/bin/arduinoOTA |