Part Number: TMS570LS3137
Other Parts Discussed in Thread: CCSTUDIO
Tool/software: Code Composer Studio
I'm attempting to use the entry/exit hook functions to monitor stack usage in my program as described in SPNU151. In the process of debugging this feature, I've discovered that once I enter an entry hook function name in the "Entry/Exit Hook Options" dialog box, as shown in the image below, that I can't get rid of this entry. If I delete the entry, e.g. delete "my_entry_hook_function", the .cproject file retains the default entry hook directive, causing my build to fail.
.cproject after I input the name of my entry hook function
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ENTRY_HOOK.2064082480" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ENTRY_HOOK" value="--my_entry_hook_function" valueType="string"/>
.cproject after I delete the name of my entry hook function
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ENTRY_HOOK.2064082480" name="Insert this call at entry to each function (--entry_hook)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ENTRY_HOOK" value="" valueType="string"/>
I can work around this by manually editing .cproject but it's a nuisance and will likely trip up someone else. It should be fixed!