-
-
Notifications
You must be signed in to change notification settings - Fork 403
Compile fails when sketch filename is specified in the command #51
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
Comments
I've seen similar problems on different systems. On my laptop, in Linux Mint 18.3, I have to pass the full path to the sketch. On a VM, with Mint 19, I just need the Arduino/sketch_name part. Weird. Both systems using exactly the same alpha release version. So, you are not wrong. Cheers, |
@eduherminio @NormanDunbar please test the latest version of the cli to see if the problem is fixed. |
…d) (#51) * - handling empty `_shadowTopicIn` - preventing `_syncStatus` from being set to value other than `SYNC_STATUS_SYNCHRONIZED` when empty shadow topic * fix getting started problem * - applied fix suggestions by @ilcato * Fixed bracing style to K&R employed in the rest of the file * Moving initialisation of member variables with default values in constructor
Add schema provided checks for library.properties precompiled field
First of all, congrats on this project, it's just awesome.
I've just spent some time trying to use
arduino-cli
to compile a sketch for the first time.arduino-cli
recognize my board, until I found Arduino-cli cannot find Duemilanove or Uno #37 (comment):Problem solved, not really worried about some of my boards not being recognized.
arduino-cli
compile any sketch for any board.C:\Program Files (x86)\Arduino\examples\01.Basics\Blink>arduino-cli compile --fqbn arduino:avr:uno Blink.ino
.After trying desperately different options with different boards (
arduino-cli board listall
is very useful!), I was about to open a real issue when I came back for a moment to README.md:Not:
There it was my mistake,
I may not be the only or last person that tries to run
arduino-cli
over Arduino sketch rather than over its surrounding dir, so I suggest trying to detect this specific behavior when invokingarduino-cli compile
or at least mentioning this explicitly in README.md instructions.Disclaimer: I may be wrong, the pitfall I'm describing won't happen to anyone else and documenting it explicitly is worthless.
The text was updated successfully, but these errors were encountered: