forked from espressif/esp-idf
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:
@ -1,7 +1,8 @@
|
|||||||
[mapping:newlib]
|
[mapping:newlib]
|
||||||
archive: libnewlib.a
|
archive: libnewlib.a
|
||||||
entries:
|
entries:
|
||||||
heap (noflash)
|
if HEAP_PLACE_FUNCTION_INTO_FLASH = n:
|
||||||
|
heap (noflash)
|
||||||
abort (noflash)
|
abort (noflash)
|
||||||
assert (noflash)
|
assert (noflash)
|
||||||
stdatomic (noflash)
|
stdatomic (noflash)
|
||||||
|
Reference in New Issue
Block a user