How can I setup malloc to use external SDRAM.
It should be possible to do that with a linker script. Check if your project includes a file with â€œ.ldsâ€ extension and search it for â€œheapâ€. Then set the heap to reside inside your SDRAM.
I actually havenâ€™t tried it, but I donâ€™t know of other methods.
There is an application note for this:
© 2020 Microchip Technology Inc.