I am using CCS 8.3.1.
In my project using lwip (NO_SYS) , I found that Stack Usage view for echo_recv function is showing inclusive size with a value of 2848 and when I hover over the bar it shows 100% usage. It shows in yellow color.
I tried increasing the stack size by changing enet_lwip_ccs.cmd file in my project directory with the following line from
__STACK_TOP = __stack + 2048;
to
__STACK_TOP = __stack + 4096;
In the project properties General tab , I have browsed to the above file in the Linker Command file setting. Cleaned the porject and rebuit it.
However, the Stack Usage view still shows 2848 and 100% for echo_recv .
My questions:
1. What is the correct method to increase the system stack size?
2. Why is the Stack View showing 2848 when the actual setting in enet_lwip_ccs.cmd was set to 2048 earlier?
3. After setting the path in Linker Command file to my project's enet_lwip_ccs.cmd , and after building it , does not show full path to my project's .cmd file. Is it taking this file from some other location than my project directory? Does it explain why the stack is not chaging?
Thanks for any help.