I used -gen_profile_info in the compiler options (under properties linker and then edit flags and adding gen profile info) generate a build that runs with no error but does have a warning.
Description Resource Path Location Type
#10247-D creating output section ".ppdata" without a SECTIONS specification hfx2_project C/C++ Problem
I run the debugger successfully and check the worksspace and there isn't a .pdat file.
I also tried adding --use_profile_info=file.prf into the compiler option that didn't generate a .prf either.
Not sure what i'm doing wrong any insight would be great.
I'm using a msp-ts430m64 evaluation board and a msp430 usb debug ineterface msp-feet430uif. I'm using code composer studio version 12.7.1.00001
Thanks in advance
Edit :
Some good news.
Ok so i was able to update get a .dat report but i'm unable to get a .prf file. I've tried using TI_PROFDATA that didn't work. I also tried TI_PROFDATA with TI_PROFDATA --analyze=codecov and also with --analyze=codecov and both didn't work. What exactly am i doing wrong? I also tried to set TI_COVDIR AND COVDATA to a location and a name and both didn't work. Any suggestions would be great.
Edit 2:
I found this and followed it (https://software-dl.ti.com/ccs/esd/documents/application_notes/appnote-code_coverage_compiler.html). The csv generated shows a frequency of 0 for everything when i can obviously see the led blink. I am using _TI_start_pprof_collection(); and _TI_stop_pprof_collection(); within the code. I get errors when i build collect but the guide says that is expected and i do get a .csv file generated. Why is frequency for everything if i'm see the led blink so the code is obviously doing something? Any insight would be amazing. Thanks