Closed
Description
In current gc
initialization, it is only possible to provide one range for the heap.
Lines 108 to 120 in 12a3fcc
However, all the RAM available on a micro-controller might not be in a contiguous range because there might be different types of RAM: SRAM, SDRAM, SPI-RAM, peripheral-dedicated RAM etc.
In my particular case, there is 4K of RAM that is used by a certain peripheral but only if it's enabled but otherwise, it's free for general-purpose use.
Unfortunately, 4K is too small for (most of) my uses as a heap by itself but if I could append it to my main heap, I wouldn't be letting 4K of RAM go to waste.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels