Makefile for Arduino sketches. It defines the workflows for compiling code, flashing it to Arduino and even communicating through Serial.
http://hardwarefun.com/tutorials/compiling-arduino-sketches-using-makefile
12a759ba8b
This splits the definition of the path to ard-parse-boards from the arguments passed to it - most importantly the custom path to the boards.txt which changes on different platforms. The default value for this hard-coded into ard-parse-boards won't work in Linux or Windows, so passing the custom value is critical. This change also determines the absolute path to ard-parse-boards dynamically, so the PARSE_BOARDS_PATH value should never really need to be overridden. I removed the custom values from all of the example Makefiles. |
||
---|---|---|
arduino-mk | ||
examples | ||
releases | ||
README.md |
A Makefile for Arduino Sketches
This is a very simple Makefile which knows how to build Arduino sketches.
Until March 2012, this was simply posted on my website where you can still find what documentation exists.
If you're using Debian or Ubuntu, you can find this in the arduino-core package.