Heap depends on installed memory, known at run time only

Hello, 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? cyrille

Heap depends on installed memory, known at run time only

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