December 31, 2015

Arduino Makefile instead of IDE

For fiddling with small bits of code to try an interface the individual parts of my unit, the Arduino IDE is convenient. The overall project, though, is going to consist of multiple source and header files and will likely be unmanageable in the tiny IDE. Also, I prefer a capable source code editor, such as Sublime Text [1].

Luckily, a Makefile for Arduino [2] has already been developed and allows to compile a set of source files from the command line. It also supports programming the Due via bossac, and opening a serial monitor to listen to the Due on Serial1.

References

[1] http://www.sublimetext.com
[2] https://github.com/pauldreik/arduino-due-makefile

No comments:

Post a Comment