Skip to content

Latest commit

 

History

History
167 lines (136 loc) · 5.63 KB

arduino-cli.org

File metadata and controls

167 lines (136 loc) · 5.63 KB

arduino-cli

compile-file

cd ~/arduino/
arduino-cli compile --fqbn esp32:esp32:esp32 ulisp

upload file

arduino-cli upload -p /dev/ttyUSB0 --fqbn esp32:esp32:esp32 ulisp
ls

install packages

search for bmp

#arduino-cli lib search BMP085
"Adafruit BMP085 Library"

download library

#arduino-cli lib search BMP085
arduino-cli lib install "Adafruit BMP085 Library"

arduino-cli

tutorial

https://arduino.github.io/arduino-cli/0.29/getting-started/

core package

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json

run code

#arduino-cli config init --overwrite
#arduino-cli config dump --verbose
#arduino-cli config init --additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json 
#arduino-cli core update-index
#arduino-cli board list
#arduino-cli core install esp32:esp32
#arduino-cli core list
#arduino-cli compile --fqbn esp32:esp32:esp32 blink
arduino-cli lib search SoftwareSerial
arduino-cli lib install EspSoftwareSerial
arduino-cli compile --fqbn esp32:esp32:esp32 gps
arduino-cli upload -p /dev/ttyUSB0 --fqbn esp32:esp32:esp32 gps

yaml file

Auto created config outputs yaml file with tabs. Tabs are not accepted in yaml. /home/me/arduino/arduino-cli.yaml