diff --git a/components/newlib/newlib.lf b/components/newlib/newlib.lf index 19f0992d3a..1e2782ac7d 100644 --- a/components/newlib/newlib.lf +++ b/components/newlib/newlib.lf @@ -1,7 +1,8 @@ [mapping:newlib] archive: libnewlib.a entries: - heap (noflash) + if HEAP_PLACE_FUNCTION_INTO_FLASH = n: + heap (noflash) abort (noflash) assert (noflash) stdatomic (noflash)