Questions tagged [arduino-cli]

9 questions
4
votes
1 answer

VSCode Arduino can't find Arduino CLI?

I'm using (trying) the VSCode Arduino extension with arduino-cli. When trying to compile a sketch, it throws this error: Cannot find Arduino IDE. Please specify the "arduino.path" in the User Settings. Requires a restart after change. this is the…
Tuor
  • 875
  • 1
  • 8
  • 32
1
vote
0 answers

Can @grpc/grpc-js dynamically unpack google.protobuf.Any type?

I work on a gRPC client using @grpc/grpc-js, and I have to handle application-specific errors by reading the details array of the google.rpc.Status object. Is it possible to dynamically unpack the error object without knowing the possible errors…
kittaakos
  • 149
  • 1
  • 6
1
vote
1 answer

How can I invoke another program's bash completion handler for a single subcommand of my program?

Context I have an arduino-cli wrapper script named ino that reads target/build configuration from: JSON files located in the sketch directory Command-line flags/arguments It then constructs and exec's the corresponding arduino-cli…
ardnew
  • 2,028
  • 20
  • 29
0
votes
0 answers

Faster builds with arduino-cli

I have a script that uses arduino-cli to generate a compiled build of my sketch that has a dependency on arduinoWebSockets among other libraries. Each build takes a lot of time, as it compiles all the library in the sketch every time I build the…
0
votes
1 answer

Trying to implement serial data transmission using two digital pins other than rx and tx between arduino and esp32

I am developing a car robot for that I am using arduino and motor driving shield. I am trying to send commands from esp32 to arduino(as I am getting commands to esp32 from internet). commands like forward, backward, right, left, autonomous,…
0
votes
1 answer

Upload data folder file to spiff of esp8266

I'm trying to upload an Arduino file and its associated data folder to an esp8266 using Arduino-cli, but I'm having trouble uploading the contents of the data folder to the esp8266   SPIFF memory. I am not able to find a way to solve this…
0
votes
1 answer

Including a locally installed library in Arduino

How do I include a local file? This is my project structure (with multiple sketches): (project root) - some_config.json - SketchOne/ - SketchOne.ino - SketchTwo/ - SketchTwo.ino - lib/ - lib_1/ -…
0
votes
1 answer

How to compile and flash attiny88 with arduino-cli?

I can't understand, what device-name I should use for attiny88? For example, string for my old nano was arduino:avr:nano:cpu=atmega328old I installed cores for attiny in arduino-cli, and test this board in ArduinoIDE and it works well, but I want to…
0
votes
1 answer

NodeMCU ESP8266 cannot upload sketch - timeout error

Using arduino-cli, the arduino-ide, or directly the esptool.py (from https://github.com/espressif/esptool) I obtain the following error when uploading a simple (correct) sketch. x@y:~/blink$ ~/tools/arduino-cli upload -p /dev/ttyUSB0 --fqbn…
65537
  • 28
  • 8