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

GirishHolla
Posts: 15
Joined: Tue Jun 01, 2021 10:21 am

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

Postby GirishHolla » Tue Nov 09, 2021 11:51 am

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.
Attachments
application_mem_usgae.png
ESP-32 Application memory usage
application_mem_usgae.png (25.36 KiB) Viewed 2823 times

Who is online

Users browsing this forum: No registered users and 178 guests