From 7b5b5452fe1f68b5bb99063666bbcb5ee02794b0 Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 3 Apr 2017 14:17:57 -0700 Subject: [PATCH] Correct OpenOCD version in tools.openocd.path definition http://downloads.arduino.cc/packages/package_index.json specifies openocd version 0.9.0-arduino6-static in the Arduino SAMD Boards 1.6.13 entry. The incorrect version previously used to define tools.openocd.path caused uploads for SAMD boards to fail: "java.io.IOException: Cannot run program "{runtime.tools.openocd-0.9.0-arduino5-static.path}/bin/openocd.exe": CreateProcess error=2, The system cannot find the file specified" --- platform.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform.txt b/platform.txt index 34dc1dc87..9aed8b2fb 100644 --- a/platform.txt +++ b/platform.txt @@ -148,7 +148,7 @@ tools.bossac.upload.network_pattern="{network_cmd}" -address {serial.port} -port # OpenOCD sketch upload # -tools.openocd.path={runtime.tools.openocd-0.9.0-arduino5-static.path} +tools.openocd.path={runtime.tools.openocd-0.9.0-arduino6-static.path} tools.openocd.cmd=bin/openocd tools.openocd.cmd.windows=bin/openocd.exe @@ -177,7 +177,7 @@ tools.openocd.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{path}/ # FIXME: this programmer is a workaround for default options being overwritten by uploadUsingPreferences # -tools.openocd-withbootsize.path={runtime.tools.openocd-0.9.0-arduino5-static.path} +tools.openocd-withbootsize.path={runtime.tools.openocd-0.9.0-arduino6-static.path} tools.openocd-withbootsize.cmd=bin/openocd tools.openocd-withbootsize.cmd.windows=bin/openocd.exe