From b238bc691d553df2078d5d658e3b7979e874a82e Mon Sep 17 00:00:00 2001 From: XiaXiaotian Date: Wed, 12 Apr 2017 17:42:45 +0800 Subject: [PATCH] Do not put the whole object files into IRAM. Add attributes to the functions called in ISR instead. --- components/esp32/ld/esp32.common.ld | 6 ------ components/esp32/lib | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/components/esp32/ld/esp32.common.ld b/components/esp32/ld/esp32.common.ld index 67beb35a96..ff451132bb 100644 --- a/components/esp32/ld/esp32.common.ld +++ b/components/esp32/ld/esp32.common.ld @@ -90,13 +90,7 @@ SECTIONS *libphy.a:(.literal .text .literal.* .text.*) *librtc.a:(.literal .text .literal.* .text.*) *libsoc.a:(.literal .text .literal.* .text.*) - *libpp.a:pp.o(.literal .text .literal.* .text.*) - *libpp.a:lmac.o(.literal .text .literal.* .text.*) - *libpp.a:wdev.o(.literal .text .literal.* .text.*) - *libcore.a:ets_timer.o(.literal .text .literal.* .text.*) - *libnet80211.a:ieee80211_misc.o(.literal .text .literal.* .text.*) *libhal.a:(.literal .text .literal.* .text.*) - *libcoexist.a:(.literal .text .literal.* .text.*) *libspi_flash.a:spi_flash_rom_patch.o(.literal .text .literal.* .text.*) _iram_text_end = ABSOLUTE(.); } > iram0_0_seg diff --git a/components/esp32/lib b/components/esp32/lib index 7558b83e90..53aac75afe 160000 --- a/components/esp32/lib +++ b/components/esp32/lib @@ -1 +1 @@ -Subproject commit 7558b83e906589cb8491a894fd8e6f8c1f6554b6 +Subproject commit 53aac75afe219af9feca42aca7f1126d394844c9 -- 2.40.0