platform-espressif8266 icon indicating copy to clipboard operation
platform-espressif8266 copied to clipboard

arduino-cli builds fine, but platformIO reports excessive .text size " section '.text1' will not fit in region 'iram1_0_seg' "

Open tyeth opened this issue 1 year ago • 0 comments

Building adafruit wippersnapper firmware is impossible with platformIO and esp8266, due to

section '.text1' will not fit in region 'iram1_0_seg'

I hadn't tried for a very long while so I've no idea when or if it last built, but I believe it has in the past (probably less strings/drivers included then so the size / memory-usage difference wasn't picked up).

c:/users/tyeth/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\huzzah\firmware.elf section `.text1' will not fit in region `iram1_0_seg'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\huzzah\firmware.elf] Error 1

Trying to build this branch, but will be similar in main / anywhere: https://github.com/tyeth/Adafruit_Wippersnapper_Arduino/tree/wireless-rssi-sorting https://github.com/tyeth/Adafruit_Wippersnapper_Arduino/tree/4aa19d832f9c8d3dcc1962c9d0b3204444f02eae

tyeth avatar Dec 12 '24 18:12 tyeth