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
Find a file
2012-04-03 12:02:14 -04:00
arduino-mk Move LDSCRIPT back into chipKIT - it gets resolved eventually. 2012-04-03 12:02:14 -04:00
examples Add support for the chipKIT Max32 and Uno32. 2012-04-02 11:17:26 -04:00
releases Moved released tarballs to releases subdir 2012-03-09 22:24:35 +00:00
README.md Add support for the chipKIT Max32 and Uno32. 2012-04-02 11:17:26 -04:00

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.

This Makefile current requires either Arduino 1.0 or MPIDE 0023.

chipKIT Support

In addition to regular Arduino boards, this Makefile supports the Digilent chipKIT Uno32 and Max32, both Arduino-compatible microcontrollers. To use this Makefile with one of those, include chipKIT.mk instead of Arduino.mk at the bottom of your Makefile.

include /path/to/chipKIT.mk

You can adjust the same variables as described for the Arduino, but the ARDUINO_DIR variable must point to an MPIDE installation (which includes the chipKIT toolchain) instead of the Arduino IDE.

Some details on the addition of chipKIT support can be found in another blog post.

Contributors

  • Martin Oldfield (initial version)
  • Chris Peplin (chipKIT)
  • rei_vilo / Olivier
  • Edward Comer