Description
Board
ESP32 Dev Module
Device Description
WaveShare E-Paper ESP32 Driver Board
Hardware Configuration
not relevant
Version
v3.1.2
IDE Name
Arduino IDE
Operating System
Linux
Flash frequency
80 MHz
PSRAM enabled
no
Upload speed
115200
Description
Compiling works of without any errors using esp32:esp32@3.0.7, but fails with a iram0_0_seg overflow linker error using esp32:esp32@3.1.0 or later.
The library versions remain unchanged in both cases.
Sketch
Debug Message
/home/mp/.arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: /tmp/arduino/sketches/EF8ECBDC67641FB780F7048771789765/Waveshare_7_5_T7_Sensors.ino.elf section `.iram0.text' will not fit in region `iram0_0_seg'
/home/mp/.arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: IRAM0 segment data does not fit.
/home/mp/.arduino15/packages/esp32/tools/esp-x32/2405/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: region `iram0_0_seg' overflowed by 1520 bytes
collect2: error: ld returned 1 exit status
Error during build: exit status 1
Other Steps to Reproduce
See CI for reference:
-
https://github.com/matthias-bs/ESP32-e-Paper-Weather-Display/actions/runs/12346840604 (ok)
arduino-cli Version: 1.1.1
esp32:esp32@3.0.7 (idf-release_v5.1) -
https://github.com/matthias-bs/ESP32-e-Paper-Weather-Display/actions/runs/13746757534 (failed)
arduino-cli Version: 1.2.0
esp32:esp32@3.1.3 (idf-release_v5.3)
The solution proposed in #10756 was not applicable in my case, because I was already using ARDUINO_ISR_ATTR
.
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.