The Beehive, City Place, Gatwick, RH6 0PA, United Kingdom
+44 (0)20 801 74646

Using Testwell CTC++ with TI Code Composer

In this post I am showing how to instrument your code for Testwell CTC++ code coverage from the Texas Instruments Code Composer Interface

It’s quite easy to enable Testwell CTC++ to instrument your source code as it is being built within the Texas Instruments Code Composer 4 or 5 IDE’s.

After having installed both CTC++ and the relevant CTC++ add-on compiler support for the Texas family of compilers, we can simply take advantage of Code Composers  pre-build and post-build steps to execute the necessary CTC commands:

This is the Code Composer 4 project properties dialogue. It is very similar to Code Composer 5. The two commands we’ve added are, for the pre-build step:

For the post-build step:

Clearly, you need to provide the correct path and compiler binary name for your environment in the above 2 commands. The only other thing to remember is to add the path to the CTC++ installation directory to your PATH environment variable.

And that’s it. All the binaries you now build in Code Composer will be automatically instrumented, ready for deployment and execution on the intended target.

Did you enjoy this post?

Subscribe to our newsletter and to keep up to date on blog posts, product updates and events.

Related Posts

Leave a comment