You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to upload a sketch for the Sony SPRESENSE board on MacOS X. The error message suggests that arduino-cli is not properly translating {runtime.os} to macosx when it constructs the flash_writer command line.
This is with a trivial "Blink" sketch.
Current behavior
$ arduino-cli upload -p /dev/cu.SLAB_USBtoUART --fqbn SPRESENSE:spresense:spresense Blink -v
Waiting for upload port...
"/Users/mdw/Library/Arduino15/packages/SPRESENSE/tools/spresense-tools/2.0.2/flash_writer/{runtime.os}/flash_writer" -s -c "/dev/cu.SLAB_USBtoUART" -d -n "/var/folders/bw/pw636xj977n1k9367knvlml80000gn/T/arduino-sketch-69767DD007917B413367753F903A19C4/Blink.ino.spk"
Error during Upload: uploading error: cannot execute upload tool: fork/exec /Users/mdw/Library/Arduino15/packages/SPRESENSE/tools/spresense-tools/2.0.2/flash_writer/{runtime.os}/flash_writer: no such file or directory
to packages/SPRESENSE/hardware/spresense/2.0.2/platform.txt is a workaround, however, I don't understand why it's needed, as {runtime.os} expansion should, in principle, work here.
Bug Report
I am unable to upload a sketch for the Sony SPRESENSE board on MacOS X. The error message suggests that
arduino-cli
is not properly translating{runtime.os}
tomacosx
when it constructs theflash_writer
command line.This is with a trivial "Blink" sketch.
Current behavior
Expected behavior
The
flash_writer
program is found in:That is, replacing
{runtime.os}
withmacosx
in the command line should do the trick. I am not sure why this is not happening automatically.Environment
CLI version (output of
arduino-cli version
): arduino-cli alpha Version: 0.16.0 Commit: c977a23 Date:OS and platform: MacOS X 10.14.6 on Macbook Pro 2018, with Sony SPRESENSE
The text was updated successfully, but these errors were encountered: