Compilation error in 2.2.1

I have a working project using ESP8266, last compilation was in April this year. I made some corrections and got this error:

c:/users/miodr/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.1.0-gcc10.3-e5f9fec/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\miodr\AppData\Local\Temp\arduino\sketches\BEEA19BC8E1F2CD6BF0A7AFA7A793820/ESP8266_BME680_BSEC_GPS_I2C_LCD_new.ino.elf section .text1' will not fit in region iram1_0_seg'
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

Any help will be appreciated.
Miodrag

do you have lots of stuff with an ICACHE_ attribute?

(probably some libraries gained weight since your last compile...)

I found the solution. In the program, I used the BSEC library for the BME680 sensor. Updated version 1.8.1492 was used, and this was the problem. Using earlier version 1.6.1480 program compiled without error.
Hope this may help another user.
Miodrag

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.