A couple of shell scripts/template to make development smoother.
- copy
monitor-and-upload.sh
andcompile-and-kill-monitor.sh
into your project directory; - edit, if needs, the two script files to meet your compile/monitor/upload specifications;
- run the two scripts in two different terminals.
In order to compile your Arduino project you have to create a sketch.yaml file.
Connect your arduino device and execute:
arduino-cli board list
You should find port, FQBN and Core (platform).
Available platforms:
arduino-cli core list --all
Installed platforms:
arduino-cli core list