This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Difference between Heap in Linker File and RTOS2 Global Dynamic Memory

I'm trying out RTOS2 on STM32 Nucleo Boards

I want to know the difference between

1. Heap Declaration in Liner file or in .asm file which can be set using Keil IDE or cubemx
2. RTOS2 Global Memory Size

While testing code
Both are allocated and both are consumed in RTOS2 based tasks

So how to define and which resource will reside on which Memory

Will RTOS2 resource all be allocated in Global Memory or it requires Heap in addition

Since I change the heap size to 0 RTOS2 fails

So what is the relation between Heap Size and Global Memory in RTOS2 Config