DEV Community

s
s

Posted on

1

Answer:

Just search for symbol __malloc_sbrk_start in linker script, there will be something like __malloc_sbrk_start = .; (it will be at the end of all defined segments in RAM) and simply replace the . with address where start SRAM2 in case of your MCU: __malloc_sbrk_start = 0x10000000;

Top comments (0)

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay