13 questions
0
votes
1
answer
109
views
Setting up Coverity Check for Arduino Codebase
We have a repository that we build using Arduino IDE and we're trying to setup Coverity Checks for it. I tried using arduino-cli for cov-build but it gives the error "No files were emitted". ...
0
votes
1
answer
66
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
159
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
46
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 ...
1
vote
1
answer
734
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. ...
1
vote
0
answers
413
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
422
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
624
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
956
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
468
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
219
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/...