STM32L152 EVAL Board Port: Example 1 - Scheduler Failure

woops_ wrote on Thursday, July 17, 2014:

Look at the return value when you create the task, see also malloc fail hook and read memory management on the FreeRTOS web pages. lots of ways to catch that failure

rtel wrote on Thursday, July 17, 2014:

Here are some useful links:

http://www.freertos.org/a00111.html
http://www.freertos.org/a00016.html (for the malloc failed hook)
http://www.freertos.org/Stacks-and-stack-overflow-checking.html

Whether the stack grows up or down depends on the chip, not on FreeRTOS. In your case (as in most cases) it grows down.

Regards.