Increase the limit on stack size

vscastro wrote on Wednesday, August 19, 2009:

Good afternoon, I use FreeRTOS.org V5.1.2, and I know how to increase the limit on stack size, because I’m only getting a maximum of 2100 bytes.

Thank you,

Víctor Castro

edwards3 wrote on Wednesday, August 19, 2009:

Its not clear what your question is. There is no limit on the stack size other than the amount of RAM your target has. The stack is allocated from the heap, and the heap size is normally set by configTOTAL_HEAP_SIZE but that depends on your port. The stack size is passed to xTaskCreate() in an unsigned short, so that I supposed imposes a limit of 0xffff words.