LED-Lightpainter icon indicating copy to clipboard operation
LED-Lightpainter copied to clipboard

firmware.elf Error 1

Open JHProps opened this issue 3 years ago • 4 comments

Hi, having issues compiling

Linking .pio\build\nodemcuv2\firmware.elf c:/users/skame_000/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\nodemcuv2\firmware.elf section .text' will not fit in region iram1_0_seg' collect2.exe: error: ld returned 1 exit status *** [.pio\build\nodemcuv2\firmware.elf] Error 1

[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
build_flags = -Wall -Wl,-Tesp8266.flash.4m1m.ld
monitor_speed = 115200
lib_deps =
  [email protected]
  adafruit/Adafruit NeoPixel @ ^1.7.0

JHProps avatar Apr 01 '21 18:04 JHProps

have you tried the "fix"-branch?

TheMasterFX avatar Apr 01 '21 20:04 TheMasterFX

I tried the master first and then I'm presently using the fix branch.

Same issue

JHProps avatar Apr 01 '21 20:04 JHProps

Mmh, I just updated everything (ESP8266 2.6.3) and it compiles fine. Sorry I can't reproduce it. Even with your lib_deps it builds fine.

TheMasterFX avatar Apr 01 '21 22:04 TheMasterFX

Adding @2.6.3 seemed to do the trick

JHProps avatar Apr 01 '21 23:04 JHProps