-
-
Notifications
You must be signed in to change notification settings - Fork 414
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Specifying the -u
flag to compile
doesn't work unless I also specify -o
to give an output file name. For example,
this doesn't work:
$ arduino-cli compile -b "arduino:samd:mkrzero" -p /dev/ttyACM1 -u serial_test.ino
Sketch uses 11288 bytes (4%) of program storage space. Maximum is 262144 bytes.
Error during Upload: cannot open sketch: stat serial_test.ino/serial_test.ino.arduino.samd.mkrzero.bin: not a directory
but this does:
$ arduino-cli compile -b "arduino:samd:mkrzero" -p /dev/ttyACM1 -u serial_test.ino -o serial_test.bin
It'd be nice if this flag worked without -o
, so that the output file would automatically be generated in the temp dir.
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project