Teensy rake is a rake-based build system which is intended to accomplish multi-targeting of embedded devices. It was built for learners wishing to follow this tutorial on using TDD for embedded development
The Rakefile was built via TDD and it employs an embedded-TDD process according to the frameworks laid out by:
- James Grenning's TDD for Embedded Systems
- The sample rakefile provided by Throw the Switch (Creator of Unity)
- Electron Vector's articles on using GCC to compile and assemble C-projects
It has been built for instructional purposes with two primary goals:
- to give Arduino developers an introduction into the world of Embedded TDD
- to achieve a multi-targetting buildchain that allows a developer to build an embedded TDD-application that can be ported to multiple devices from multiple vendors
The first goal is executed on via this blog post. So if you are an Arduino developer interested in levelling up your C-programming skills, you can start with this blog post*
The second goal is admittedly more ambitious and may very well be a bigger challenge than my time and programming skills can deliver on.
All said, I have gotten a lot out of this exercise and the blog post is basically what I wish I would have found after completing Grenning's book the first time. Embedded systems force a lot of learning on you at once. I've attempted to distill this down into a bite-sized chunk of learning and I hope it will also help others on a similar path.
Cheers!
teensy build and unity can be downloaded here. just paste it into the root of the project folder