Malloc returns NULL Pointer in FreeRTOS task.
Hello Community,
I'm using an ST Nucleo-F767ZI and I create my project, for Atollic True Studio, with Cube32MX.
In my project I included FreeRTOS v10.
I'm in troubled with the malloc function, because this function return a NULL pointer.
I have several tasks, and I'm not able to allocate memory inside a task.
If I invoke the malloc function in the main.c, the function returns a pointer.
I don't know why this happens.
Thanks for the help.
Federico