Hi, im trying to create a task locally like you did in the example:
https://github.com/jonenz/FreeRTOS-Cpp/blob/develop/examples%2FTask%2Ftask.cpp
And when im trying to create the task, the creation itself working good so the task got the memory it needs.
But when trying to access the taskFunction it cannot find it and then im getting hard fault and memory mengment faults.

When defining the task globally everything works fine.
Im using the nucleo-h743zi2.
And ideas?