This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push: new a59062f xtensa/esp32: Optimize IRAM usage based on esp-idf a59062f is described below commit a59062f719b58f06a1aa5b5ea8bbb3a9c0a0a5c7 Author: Dong Heng <dongh...@espressif.com> AuthorDate: Fri Nov 20 16:20:56 2020 +0800 xtensa/esp32: Optimize IRAM usage based on esp-idf Decrease about 87KB IRAM space cost from Wi-Fi related libs. --- boards/xtensa/esp32/esp32-core/scripts/esp32_flash.ld | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/boards/xtensa/esp32/esp32-core/scripts/esp32_flash.ld b/boards/xtensa/esp32/esp32-core/scripts/esp32_flash.ld index 65c1421..2909e8f 100644 --- a/boards/xtensa/esp32/esp32-core/scripts/esp32_flash.ld +++ b/boards/xtensa/esp32/esp32-core/scripts/esp32_flash.ld @@ -54,13 +54,10 @@ SECTIONS _iram_text_start = ABSOLUTE(.); *(.iram1 .iram1.*) - *libphy.a:(.literal .text .literal.* .text.*) *librtc.a:(.literal .text .literal.* .text.*) - *libpp.a:(.literal .text .literal.* .text.*) - *libhal.a:(.literal .text .literal.* .text.*) *libarch.a:esp32_spiflash.*(.literal .text .literal.* .text.*) *(.wifirxiram .wifirxiram.*) - *(.wifirxiram .wifi0iram.*) + *(.wifi0iram .wifi0iram.*) _iram_text_end = ABSOLUTE(.); /* Module text area starts at the end of iram0_0_seg */ @@ -116,6 +113,7 @@ SECTIONS KEEP (*(.gnu.linkonce.s2.*)) KEEP (*(.jcr)) *(.dram1 .dram1.*) + *libphy.a:(.rodata .rodata.*) *libarch.a:esp32_spiflash.*(.rodata .rodata.*) . = ALIGN(4); _edata = ABSOLUTE(.);