Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tyeth opened this issue Dec 12, 2024 · 0 comments

Comments

@tyeth
Copy link

tyeth commented Dec 12, 2024

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 tyeth changed the title arduino-cli builds fine, but platformIO reports excessive .text size arduino-cli builds fine, but platformIO reports excessive .text size " section .text1' will not fit in region iram1_0_seg' " Dec 12, 2024
@tyeth tyeth changed the title arduino-cli builds fine, but platformIO reports excessive .text size " section .text1' will not fit in region iram1_0_seg' " arduino-cli builds fine, but platformIO reports excessive .text size Dec 12, 2024
@tyeth tyeth changed the title arduino-cli builds fine, but platformIO reports excessive .text size arduino-cli builds fine, but platformIO reports excessive .text size " section '.text1' will not fit in region 'iram1_0_seg' " Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant