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.
Hi,
I am using CCS version 12.4.0.00007 and TI Clang v2.1.3 LTS compiler.
I am using LP-CC1311P3 and SimpleLink CC13xx CC26xx SDK.
I am using Usage Stack View to evaluate the stack depth of functions.
I am not using indirect calls in my application, but I found that TI drivers use indirect calls a lot.
I would like to know if the Usage Stack View calculates the stack depth including the INDIRECT CALLS present in the TI drivers.
If not, how can I calculate the stack depth of all indirect calls?
Thanks,
Fabiano
Hello Fabiano,
please have a look at this: Stack Usage View in CCS (ti.com)
Maybe this other thread will also help you better understand the Stack Usage View:
CC1312R: Stack-Usage in CCS 10 - Sub-1 GHz forum - Sub-1 GHz - TI E2E support forums
The Stack Usage view is only showing a static view at compile time.
To determine the dynamic stack usage you could reduce the stack size until your program stops working.
Best regards
Manuel