I’ve just posted the patch
generalise the stack checking functions on the Feature Requests tracker.
This patch enables ports of FreeRTOS to architectures which use/need more than
To support the stack overflow checking functionality on such a port for the
additional stack(s), we need to have general (inline) functions where the stack
and such is not hard-coded.
Tested on a real hw with configCHECK_FOR_STACK_OVERFLOW == 2 and
portSTACK_GROWTH == -1.
Just compile tested for portSTACK_GROWTH == +1.
Would be nice if you could mainline this.