Hi Folks, I’d appreciate some help please.
I am working on Windows 11.
I am following instructions at: arduino_code · master · Bath Open Instrumentation Group / Sangaboard · GitLab
I installed arduino-cli, then did this:
arduino-cli lib install “Adafruit TSL2591 Library” “Adafruit Unified Sensor” “Adafruit ADS1X15” - worked OK
arduino-cli core update-index && arduino-cli core install arduino:avr - hung so I cancelled it.
Later, I realised Windows was displaying an authorisation window which I didn’t see, and this is why the install “hung” - so this may never have completed.
[Ghis is really annoying - it does not pop these windows over others - the only way to notice is a “throbbing” icon in the task bar]
So I re-ran that step, but it says it’s already installed and the subsequent step:
arduino-cli board list
arduino-cli board attach {YOUR COM PORT}
-
fails with “Can’t open sketch: no such file or directory:C:\Users\chris\Documents\Arduino\COM16”
-
this path is where I put the arduino-cli.exe file
Two things:
- How do I compleltey re-run the step which I stopped?
- Why is it looking in that path for a sketch whose name is the COM port, and how do I fix that?
Many thanks
Chris
12 posts - 3 participants