Amount of available (or used) stack memory for ESP8266
Posted: Fri Aug 24, 2018 10:29 am
AFAIK the stack is 4 KB in size for ESP8266.
This API system_get_free_heap_size() is useful to get the free heap.
And this API system_print_meminfo() is informative in terms of data, rodata, bss, and heap.
But I need an API (or way) to get the available stack at runtime.
Any idea?
P.S: I'm using NodeMCU and use Arduino IDE
This API system_get_free_heap_size() is useful to get the free heap.
And this API system_print_meminfo() is informative in terms of data, rodata, bss, and heap.
But I need an API (or way) to get the available stack at runtime.
Any idea?
P.S: I'm using NodeMCU and use Arduino IDE