FreeRTOS Version Update
Posted: Tue Feb 04, 2025 11:51 am
I am using latest version of ESP-IDF (v.5.4.0) but I see that FreeRTOS version is Vanilla FreeRTOS v10.5.1
I need latest freertos version v11.0.0 or later to enable the stack runtime usage for each individual task: this can be done by enabling the configRECORD_STACK_HIGH_ADDRESS even when portSTACK_GROWTH < 0.
Here's the snippet relative to stack computation from tasks.c:
Are you planning to update FreeRTOS to its latest version in the next esp-idf versions?
Thanks!
I need latest freertos version v11.0.0 or later to enable the stack runtime usage for each individual task: this can be done by enabling the configRECORD_STACK_HIGH_ADDRESS even when portSTACK_GROWTH < 0.
Here's the snippet relative to stack computation from tasks.c:
Code: Select all
#if ( ( portSTACK_GROWTH > 0 ) && ( configRECORD_STACK_HIGH_ADDRESS == 1 ) )
pxTaskStatus->pxTopOfStack = pxTCB->pxTopOfStack;
pxTaskStatus->pxEndOfStack = pxTCB->pxEndOfStack;
#endif
Thanks!