Tool/software: Code Composer Studio
I am using a .js file to automate a simple test. The test changes based on some configuration data which is pulled in via a pound define based on the test -
i.e.
#if TEST == 1 #define <parameters> ..... #elif TEST == 2 #define <parameters> ...... etc..
I'd like to be able to fprintf to a .h file to define which test before rebuilding the project. i.e. myRunTest 4 would write to the .h file:
#define TEST 4
I am unable to find a way to print to a file except to print to a log in xml format. Am I missing a way to do this?
-Lori