FreeRTOS-Cpp icon indicating copy to clipboard operation
FreeRTOS-Cpp copied to clipboard

Cannot create dynamic TASK on local memory

Open ArielElb opened this issue 5 months ago • 0 comments

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.

Screenshot_20250820_171422_GitHub.jpg

When defining the task globally everything works fine.

Im using the nucleo-h743zi2.

And ideas?

ArielElb avatar Aug 20 '25 17:08 ArielElb