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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more