Skip to content

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

@tyeth

Description

@tyeth

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions