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
The exit status is 0 even though the console output will show that the upload fails:
Picked up JAVA_TOOL_OPTIONS:
Loading configuration...
Initializing packages...
Preparing boards...
Verifying and uploading...
Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
avrdude: ser_open(): can't open device "/dev/BAD_DEVICE": No such file or directory
ioctl("TIOCMGET"): Inappropriate ioctl for device
If I run the command multiple times it will sometimes return with exit code 1 and add the following line of output:
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
The text was updated successfully, but these errors were encountered:
When upload fails using the CLI it often returns with exit status 0 instead of an error code. I am using version 1.6.6 on Linux.
For example, if I try to upload to a device that doesn't exist:
The exit status is 0 even though the console output will show that the upload fails:
If I run the command multiple times it will sometimes return with exit code 1 and add the following line of output:
The text was updated successfully, but these errors were encountered: