Question
heap allocation on segmented ram
The ram on the STM32H7 is segmented into non-contiguous sections. How would one be able to dynamically allocate memory in different sections of RAM? eg: put large objects in AXI-SRAM and small object that need fast access on DTCM.
I'm wondering if this is possible without a custom allocator however, links to open-source custom allocators or ideas for writing simple allocator would be appreciated.