Page 1 of 1

Regarding '.iram0.text' will not fit in region `iram0_0_seg'

Posted: Tue Nov 09, 2021 11:51 am
by GirishHolla
Hi, currently using ESP32 WROOM 32E module & working on esp-idf v4.2.
Currently working with some beacons and WiFi related things but when I tried to add firmware for SPI communication (VSPI) its resulting as,

....................xtensa-esp32-elf/bin/ld.exe: <project_name>.elf section `.iram0.text' will not fit in region `iram0_0_seg'
....................xtensa-esp32-elf/bin/ld.exe: IRAM0 segment data does not fit.
......../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: region `iram0_0_seg' overflowed by 456 bytes

and as per the Application memory usage, IRAM is still available but results as above. Is there any modification on the configuration files especially on esp-idf (v4.2) or any suggestion kindly let me know. Thank you in advance.