- Fri Sep 07, 2018 3:17 am
There is none, unfortunately.
See this post for some information about it: http://bbs.espressif.com/viewtopic.php? ... ead#unread
In a NON-OS SDK I generally see this:
> stack bottom: 3ffffffc
> stack top: 3fffeb30
> value of initial stack pointer: 3ffffab0 (339 bytes)
> value of current stack pointer: 3ffffde0 (135 bytes)
> stack painted: 3968 bytes
> stack not painted: 1356 bytes
> stack size: 5324 bytes
> stack used: 2668 bytes
> stack free: 2656 bytes
So it seems there is some 5 kbytes to be used for stack. If the stack grows beyond that, the ESP will crash. Beyond that point there is another small area free to be used, that's not part of the heap (not confirmed by Espressif, but seems to work), 0x3fffe000 - 0x3fffeb2c, I am using it for a 2.5 kb log buffer.
So it seems like the stack area is quite big, it's not really something to take into consideration that much.