My target is a Cortex-M4 processor. In my project, I have already separated out the testable core-logic into a static-library, and now, I would like to conveniently unit-test it.
How can this be achieved using the MCUXpresso IDE?
I am using Google Test Framework as unit test for the libraries (C++). I have defined GCC/x64 target (in addition to M4-Debug/Release) in MCUXpresso. The test application is an executable file which you can run from a "DOS" console window to test your library code. You can also install "C/C++ Unit Testing Support" in MCUXpresso and set test runner to be "Google Test Runner". The results are then presented as simple graphics inside MCUXpresso.