esp32: force pure math functions from libgcc to be linked from ROM

This commit is contained in:
Ivan Grokhotkov
2018-06-28 12:48:31 +08:00
parent 5752e4d588
commit debe83c3b5
3 changed files with 94 additions and 91 deletions

View File

@@ -13,6 +13,9 @@ endif
#specifies its own scripts.
LINKER_SCRIPTS += esp32.common.ld esp32.rom.ld esp32.peripherals.ld
#Force pure functions from libgcc.a to be linked from ROM
LINKER_SCRIPTS += esp32.rom.libgcc.ld
#SPI-RAM incompatible functions can be used in when the SPI RAM
#workaround is not enabled.
ifndef CONFIG_SPIRAM_CACHE_WORKAROUND