ReeceStevens / freepulse

A low-cost patient monitor for developing world hospitals and low-resource settings.
http://www.freepulsemed.com
MIT License
16 stars 1 forks source link

Refactor libraries and interface code #7

Closed ReeceStevens closed 8 years ago

ReeceStevens commented 8 years ago

Create a distinction between external libraries (i.e. Adafruit) and the compatibility code that lets them run on the STM32F4. Also, revisit the class structure and organization of functions for interface code.

Finally, add unit tests for this new refactored structure. Google Tests looks like a promising framework.

ReeceStevens commented 8 years ago

This PR doesn't accomplish all of the initial refactor goals; however, it is enough of a major improvement over the current code base that I am going to go ahead and merge it. Generating more unit tests and organizational improvements will be split out into their own branches and PRs for more focused commit messages and discussion.