matthias-bs / BresserWeatherSensorLW

Bresser 868 MHz Weather Sensor Radio Receiver based on ESP32/RP2040 and SX1262/SX1276 - sends data to a LoRaWAN Network
MIT License
9 stars 1 forks source link

[m5stack-core2] Try to fix IRAM0 overflow (linker error) #35

Closed matthias-bs closed 1 week ago

matthias-bs commented 3 months ago
/home/runner/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /tmp/arduino/sketches/FE3A9D936DE321DF9E59EE9EC2CADA64/BresserWeatherSensorLW.ino.elf section `.iram0.text' will not fit in region `iram0_0_seg'
/home/runner/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: IRAM0 segment data does not fit.
/home/runner/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: region `iram0_0_seg' overflowed by 180 bytes
matthias-bs commented 3 months ago

It still works with any Core Debug Level except for "Debug" or "Verbose".

matthias-bs commented 1 week ago

Works again with Core Debug Level "Verbose". Not clear what has changed.