15 questions
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 ...
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/...
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 ...
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 ...
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. ...
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?
...
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 ...
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 ...
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 ...
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 ...
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/
- ...
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'...
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 ...
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 ...
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/...