Skip to content

upload flag to compile command doesn't work without output name #409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ademuri opened this issue Sep 17, 2019 · 1 comment
Closed

upload flag to compile command doesn't work without output name #409

ademuri opened this issue Sep 17, 2019 · 1 comment
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@ademuri
Copy link

ademuri commented Sep 17, 2019

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.

@per1234 per1234 reopened this Mar 30, 2021
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Mar 31, 2022
@per1234 per1234 self-assigned this Mar 31, 2022
@per1234
Copy link
Contributor

per1234 commented Mar 31, 2022

Closing as fixed by #690

@per1234 per1234 closed this as completed Mar 31, 2022
@per1234 per1234 added the conclusion: resolved Issue was resolved label Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants