Where is runtime.tools.openocd-0.9.0-arduino5-static.path ???

For some reason this variable got corrupted (Windows 10):

runtime.tools.openocd-0.9.0-arduino5-static.path

in C:\Users\xxx\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.13

Where is it defined?

This was caused by a bug in the Arduino SAMD Boards 1.6.13 release. I have submitted a pull request to get this fixed. You can see the necessary change here:

So you have two options:

Option 1 (fix the bug):

  • Open C:\Users\xxx\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.13\platform.txt in a text editor
  • Change line 151 from:
tools.openocd.path={runtime.tools.openocd-0.9.0-arduino5-static.path}

to:

tools.openocd.path={runtime.tools.openocd-0.9.0-arduino6-static.path}
  • Change line 180 from:
tools.openocd-withbootsize.path={runtime.tools.openocd-0.9.0-arduino5-static.path}

to:

tools.openocd-withbootsize.path={runtime.tools.openocd-0.9.0-arduino6-static.path}
  • Save the file.
  • Restart the Arduino IDE if it's running.

Option 2 (revert to Arduino SAMD Boards 1.6.12)

  • Tools > Board > Boards Manager
  • Wait for downloads to complete
  • Click on the "Arduino SAMD Boards" entry.
  • Select 1.6.12 from the "Select version" dropdown
  • Click "Install"
  • Wait for installation to complete
  • Click "Close"

Hi pert, I modified the file (there is also a second instance further down from the line you cited) and it seems like it is back to normal. Thanks!

Thanks for pointing out the one I missed! I have updated the pull request and my instructions above. Glad to hear you were able to fix the problem!