Increase the limit on stack size
Posted by Victor Castro on 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.
RE: Increase the limit on stack size
Posted by MEdwards on 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.
Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2013 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.