This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS: frame pointer usage w/TI ARM Compiler

Tool/software: Code Composer Studio

Team, I'm working with someone who is creating a fault handler and would like to be able to generate a backtrace *at run time* on the target. The goal is to save this off in .noload RAM and retrieve it on next boot. This differs from the backtrace given in the exception handling features that are enabled with XDC configurations, as I believe the backtrace generated in the ROV viewer is created out of band using information present in the .out file.

 

The strategy that I'm familiar with relies on the use of a frame pointer. GNU toolchain can force the use of a frame pointer in r11 using a flag: -fno-omit-frame-pointer

 

Is there a way to enable frame pointer usage with the TI ARM compiler? Believe not based on this thread https://e2e.ti.com/support/tools/ccs/f/81/t/868656