[Show and Tell] Makefile using arduino-cli


#1

Since i work on linux, i really wanted to have a Makefile for compilation and uploading.
I tried to use arduino-mk but i wasn’t successful. I still don’t know why.

However, i then discovered the newly (alpha state) arduino-cli. A command line interface for the arduino related things (compilation, board/library manager, uploader).

I have then created a Makefile using arduino-cli and jq for an compilation and uploading of ulisp (or any .ino file in general).

If you are interested, you can copy it here:

Makefile


#2

Thanks so much, I haven’t looked much at arduino-cli much yet, but this makes it even more compelling.