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
Error during build: build failed: unable to stat Sketch location:
stat /home/norman/Testing123:
no such file or directory
However, if I specify Arduino in the sketch name, as follows, it compiled perfectly:
arduino-cli compile --fqbn arduino:avr:diecimila:cpu=atmega328 Arduino/Testing123
Sketch uses 930 bytes (3%) of program storage space. Maximum is 30720 bytes.
I would expect the sketch new and compile or upload commands to assume the same default location for a sketch.
I would expect the default location for a sketch new command to be the same one used by a compile or upload command? At least, this makes sense to me, otherwise, why have a default?
It appears that the default location for sketch new is $HOME/Arduino, but for compile and upload it's just $HOME.
Environment
CLI version (output of arduino-cli version): arduino-cli Version: 0.5.0 Commit: 3be2287
OS and platform: Linux Mint 19.3 64 bit.
Cheers,
Norm.
The text was updated successfully, but these errors were encountered:
I agree fully. The defaults here create confusion. I had an identical situation when first using arduino-cli and I'm sure pretty much all users will run into this.
Bug Report
Current behavior
Create a sketch as follows:
Now, after editing, attempt to compile it:
This fails with the following message:
However, if I specify
Arduino
in the sketch name, as follows, it compiled perfectly:I would expect the
sketch new
andcompile
orupload
commands to assume the same default location for a sketch.As requested by @cmaglie in comment #51 (comment) I'm raising a new issue.
Expected behavior
I would expect the default location for a
sketch new
command to be the same one used by acompile
orupload
command? At least, this makes sense to me, otherwise, why have a default?It appears that the default location for
sketch new
is$HOME/Arduino
, but forcompile
andupload
it's just$HOME
.Environment
arduino-cli version
): arduino-cli Version: 0.5.0 Commit: 3be2287Cheers,
Norm.
The text was updated successfully, but these errors were encountered: