Tool/software: TI C/C++ Compiler
Hello,
I am building a TI project with external makefile in command line. I use CCS only to load the program, debug and generate the results. For code coverage I know that I have to include the --gen_profile_info while compiling the software. However, after compilation when I execute the program on the hardware, no .pdat file is generated. C6000 compiler ti-cgt-c6000_8.3.3 is used. My goal is to generate code coverage report.
1. I understand that the APIs _TI_start_pprof_collection() and _TI_stop_pprof_collection() are responsible to generate the profile data.
Do I have to explicitly call these APIs in my application source code?
2. Should I have to explicity allocate memory for .ppdata section?