First wanted to verify what the FreeRTOSPlugin_CM4 displays for stack Info:
Display All
So if I see <nnnn> / N/A, does this mean <nnn> == Is calculated Free stack space, and N/A for the unknown total stack size .?
And, how can I expand the row with task info columns if I want to? For example, add stack watermark I could possibly add to same column, but what if I want to add another column for each task, how do I do it?
Source Code
- } else { // stack grows in negative address direction
- if (tcb.pxEndOfStack == undefined) {
- FreeSpace = tcb.pxTopOfStack - tcb.pxStack;
- UsedSpace = undefined;
- Size = undefined;
- } else {
- FreeSpace = tcb.pxTopOfStack - tcb.pxStack;
- UsedSpace = tcb.pxEndOfStack - tcb.pxTopOfStack;
- Size = FreeSpace + UsedSpace;
- }
- }
- return FreeSpace + " / " + (Size == undefined ? "N/A" : Size);
And, how can I expand the row with task info columns if I want to? For example, add stack watermark I could possibly add to same column, but what if I want to add another column for each task, how do I do it?