Most developers use unit tests to create a better and more robust application. They act as a regression set and allow to modify parts of the application with good knowledge of where the modification has impact. If done properly, the unit tests will cause the various components of the application to be written without too much coupling, which makes implementing new functionality and other changes easier. But how about an embedded platform, think bare-metal on a microcontroller, like a Cortex-M4? How to write unit tests for code that does not run natively on the PC? Read more