fix(newlib): fixed newlib malloc wrappers IRAM/flash placement

If HEAP_PLACE_FUNCTION_INTO_FLASH = y then we should also place
the newlib wrappers for the heap in to flash.
This commit is contained in:
Marius Vikhammer
2025-03-12 11:16:38 +08:00
parent 209ac93ac2
commit cccccd6da8

View File

@ -1,6 +1,7 @@
[mapping:newlib]
archive: libnewlib.a
entries:
if HEAP_PLACE_FUNCTION_INTO_FLASH = n:
heap (noflash)
abort (noflash)
assert (noflash)