aboutsummaryrefslogtreecommitdiff
path: root/platform.txt
diff options
context:
space:
mode:
authorDave Madison <dmadison@users.noreply.github.com>2022-02-22 02:54:29 -0500
committerGitHub <noreply@github.com>2022-02-22 02:54:29 -0500
commitc57c8c09284674f5e9a1d2cb6a9727b43c4ec05c (patch)
tree5f8b78f71e050e8f7e5bea11c77ef9e429583981 /platform.txt
parent17f93a51c8e36302c8308257acb40dba9ae3971c (diff)
parent39ab0fcf35807322240eee92710c25d0a279a0f0 (diff)
Merge pull request #15 from dmadison/upstream-1.8.5
Merge upstream tag '1.8.5'
Diffstat (limited to 'platform.txt')
-rw-r--r--platform.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform.txt b/platform.txt
index 0d8d957..34a73cf 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