Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
33 views

Arduino-cli VSCode for raspberry pi pico: Missing file PinNamesTypes.h

Short introduction I am starting a new project with the raspberry pi pico using arduino-cli development environment and VSCode as editor. The problem The problem is about the VSCode C/C++ extension ...
Ettore Galli's user avatar
0 votes
1 answer
95 views

Arduino CLI is unable to get Documents folder

I'm attempting to use Arduino CLI on a Windows Build Server (Windows Server 2022 Datacenter Azure Edition) to compile some Arduino code. My Arduino code is hosted in Github, and I have a YAML file/...
jobrien9's user avatar
  • 147
0 votes
1 answer
44 views

ZSH script not using exported environment variable

I'm trying to make an alias to quickly compile and upload Arduino sketches. I started by adding the location and fqbn of my arduino as shell variables, but that slowed down each shell start up, so I ...
Dot Rose's user avatar
0 votes
0 answers
102 views

Arduino-cli commands are not found in vscode using WSL, why is this occuring?

It appears that people have had similar issues using vscode locally, however, I am trying to configure things purely on the WSL side. I installed the Arduino extension using vscode, however, none of ...
neutron02's user avatar
  • 104
1 vote
1 answer
517 views

Standard Arduino Libraries (i.e. Wire.h, Servo.h) not included in arduino-cli?

I am trying to flash an arduino from my raspberry pi through ssh so I decided to use arduino-cli. I have been able to set it up and flash a standard blinking sketch to the arduino without any issues. ...
aihustle's user avatar
0 votes
0 answers
83 views

undefined reference to `Wire' (using arduino-cli only)

I'm running the arduino-cli to compile a file, and it fails, but in the IDE it works. Can someone explain why the command line doesn't work but the IDE does? And how to get the command working? ...
ThomasReggi's user avatar
  • 59.2k
0 votes
0 answers
285 views

VS Code Arduino Extension: after switching to using bundled CLI, cannot compile

I am using Arduino extension on Visual Studio Code on Mac. The Arduino IDE version installed on my laptop is 1.8.19. But I usually work through VS Code. However, seems like Arduino extension on VS ...
venusrainbow's user avatar
1 vote
0 answers
363 views

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 ...
kittaakos's user avatar
  • 148
0 votes
1 answer
375 views

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 ...
Deekshith Ranga Babu Tirumala's user avatar
0 votes
1 answer
543 views

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 ...
user19930844's user avatar
0 votes
2 answers
751 views

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/ - ...
Farish Irfan's user avatar
1 vote
1 answer
416 views

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'...
ardnew's user avatar
  • 2,086
0 votes
1 answer
204 views

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 ...
Крошка Ру's user avatar
6 votes
1 answer
6k views

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 ...
Tuor's user avatar
  • 1,175
0 votes
1 answer
2k views

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/...
65537's user avatar
  • 28