CCS Version: 5.5.0.00077; Tiva-C TM4C123G; No RTOS. TivaWare_C_Series-2.0.1.11577
Is there a way to write a script / function that will execute when a memory write to watchpoint (__stack in my case) is triggered such that I can detect the "peak" value written to the memory location?
I am trying to determine the peak usage of the stack in order to trim down the memory I have allocated to the stack. I can't seem to determine how to calculate the correct size and I find myself over allocating in order to guard against erratic program behavior.