Heap depends on installed memory, known at run time only

cdebrebisson wrote on Tuesday, May 02, 2017:


I am working on a system where the size of the RAM part is not always the same.
By this I mean that one device might have a 16MB ram, another a 32MB one…
I want the software to be able to detect the ram size and to use whatever is there as Heap space.

How can I do this in FreeRTOS?


heinbali01 wrote on Tuesday, May 02, 2017:

Hi Cyrille,
I like to use heap_5.c for that. It is designed to define the heap memories at runtime.
Here you find more text and examples about this subject