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.

CODECOMPOSER: About the Inclusive Size structure of the Stack Usage display issue

Part Number: CODECOMPOSER


Hi team,

Take TI's picture as an example, PORT1 is the main function with TA1 and TA2 subfunctions.

For Inclusive Size:

PORT1 32
TA1 8
TA2 8

Issue: If TA1 and TA2 are in PORT1 as the structure: if(){TA1}else{TA2}, regardless of how much PORT1 is used, the program will only feed into TA1 and TA2 at a time, and the PORT1 will not have any effect, even 100%. Is that right?

Could you help check this case? Thanks.

Best Regards,

Cherry

  • Hello Cherry,

    The exclusive size (stack used by the function not including what is used by subfunctions) of PORT1 is 24. Since the inclusive (total) size is 32, that would leave 8 for just the one of the subfunctions that is called.

    Thanks

    ki