-
Notifications
You must be signed in to change notification settings - Fork 0
embedded
ferng edited this page Mar 26, 2020
·
5 revisions
Embedded development stuff, ooh!
- download the cli: https://github.com/arduino/arduino-cli
# config
arduino-cli config init
# get board index
arduino-cli core update-index
# find board
arduino-cli board list
# install board core
arduino-cli core install arduino:avr
arduino-cli core list- download the ide: https://www.arduino.cc/en/main/software
- untar file
- navigate to directory
- install
./install.sh
# serial port
sudo chmod a+rw /dev/ttyACM0# new sketch
arduino-cli sketch new MyFirstSketch
# compile
arduino-cli compile --fqbn arduino:avr:uno MyFirstSketch
#upload
arduino-cli upload -p /dev/ttyACM0 --fqbn arduino:avr:uno MyFirstSketch- plug in analyzer
sudo apt-get update -y
sudo apt-get install -y sigrok- start pulseview:
sudo pulseview