HOW TO get Code coverage

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by mt3@kirintec.com on Tue Nov 19 08:57:58 MST 2013
Is there a suitable code coverage tool that works with a bare-metal implementation?

OR if that is not possible, is it possible at the very least to extract from the IDE the profiling/sampling coverage data to a file, and do so automatically in a 'headless' way from the command line?

Basically I want to run unit tests, and then collect together all the code coverage details.

Any help is appreciated!