A generic Makefile for building Arduino sketches using the command line tool arduino-cli.
- Download the Makefile and place it in your sketch directory.
- Edit and configure it according to your build environment.
command | effect |
---|---|
make | "default", compile and upload the sketch |
make upload | same effect as above, compile and upload the sketch |
make compile | just compile the sketch without uploading it |
make nocache | discard cache, do a clean compile and upload it |
make list | list all installed board's FQBN |
make upgrade | update and upgrade the cores and libraries |
Nino MegaDriver
nino@nino.com.br
megadriver.com.br