Skip to content

Cannot create dynamic TASK on local memory #17

@ArielElb

Description

@ArielElb

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions