• Martin’s Atelier: Arduino from the command line
    http://mjo.tc/atelier/2009/02/arduino-cli.html

    After working through the toy tutorials though, I found myself wishing that writing code for the Arduino were more like writing other C programs. In my case, that means editing it with emacs then building it with make. I must emphasize that I’m not criticizing the Arduino IDE: there’s nothing wrong with it beyond it not being emacs...

    It turns out that others have been along this path before: the Arduino website has a hopeful sounding Arduino from the Command Line article. In turn this points you at the Makefile shipped as part of the Arduino software distribution: hardware/cores/arduino/Makefile.

    This didn’t really fit quite what I wanted to do though, so I wrote my own Makefile.

    #arduino #emacs