A couple of shell scripts/template to make development smoother.
- copy
monitor-and-upload.shandcompile-and-kill-monitor.shinto 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 listYou should find port, FQBN and Core (platform).
Available platforms:
arduino-cli core list --allInstalled platforms:
arduino-cli core list