LED Driver project from TDD for Embedded C book by James W. Grenning.
The project contains LED driver as developed in the book and solutions two excercises in the end of the Chapter 4: inversed LED logic and reversed LED pins.
The project uses Unity.
To build first clone this repository with --recursive option.
$ mkdir build
$ cd build
$ cmake ../
$ make
To test, all the above plus:
$ test/led_driver_test_app -v