Sponsored Link

Quality RTOS & Embedded Software
About   Contact   Support   FAQ

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs Books & Kits Trace Tools Ecosystem FreeRTOS Labs Training
Sponsored Link

Last site update June 02 2015

Embedded TCP/IP stack for RTOS advert


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.

Thank you,

VĂ­ctor Castro

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.

[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2015 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.