Skip to content

Uploading via CLI lacks runtime.platform.path #6463

Closed
@Sorunome

Description

@Sorunome

When uploading via CLI it lacks runtime.platform.path

e.g.

$ arduino GraphicTest/GraphicTest.ino -v --upload --useprogrammer
<compiling output>
Uploading...
/home/sorunome/.arduino15/packages/arduino/tools/openocd/0.9.0-arduino6-static/bin/openocd -d2 -s /home/sorunome/.arduino15/packages/arduino/tools/openocd/0.9.0-arduino6-static/share/openocd/scripts/ -f {runtime.platform.path}/variants/arduino_zero/openocd_scripts/arduino_zero.cfg -c telnet_port disabled; program {{/tmp/arduino_build_20957/GraphicTest.ino.elf}} verify reset; shutdown 
An error occurred while uploading the sketch
Open On-Chip Debugger 0.9.0-g932ec70 (2017-02-15-11:32)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
debug_level: 2
Runtime Error: embedded:startup.tcl:60: Can't find {runtime.platform.path}/variants/arduino_zero/openocd_scripts/arduino_zero.cfg
in procedure 'script' 
at file "embedded:startup.tcl", line 60

running arduino --get-prefs doesn't show it, either

EDIT: Using version 1.8.3 on archlinux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CLIThe Arduino IDE's command line interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions