Arduino CLI quick start

Arduino CLI quick start

as user

$ wget https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Linux_64bit.tar.gz
$ tar zxvf arduino-cli_latest_Linux_64bit.tar.gz

as root

# cd /opt
# mkdir arduino-cli
# cp ~$USER/arduino-cli arduino-cli
# ln -s /opt/arduino-cli/arduino-cli /usr/bin

# adduser $USER dialout
# adduser $USER tty

then

$ arduino-cli core update-index

then

$ lsusb

Bus 001 Device 003: ID 2341:0043 Arduino SA Uno R3 (CDC ACM)
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

then

$ arduino-cli board list

Port         Type              Board Name  FQBN            Core       
/dev/ttyACM0 Serial Port (USB) Arduino Uno arduino:avr:uno arduino:avr
/dev/ttyS0   Serial Port       Unknown                                
/dev/ttyS1   Serial Port       Unknown

refs

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.