Need help with a ESP32

c:/users/maison/appdata/local/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.exe: C:\Users\Maison\AppData\Local\arduino\sketches\631069C6F640D45A7FB7A97A6B789DC6/VFO_CTRL_V5.ino.elf section `.dram0.bss' will not fit in region `dram0_0_seg'
c:/users/maison/appdata/local/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.exe: DRAM segment data does not fit.
c:/users/maison/appdata/local/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.exe: DRAM segment data does not fit.
c:/users/maison/appdata/local/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.exe: region `dram0_0_seg' overflowed by 3584 bytes
collect2.exe: error: ld returned 1 exit status

Using library EEPROM at version 2.0.0 in folder: C:\Users\Maison\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\libraries\EEPROM 
Using library SPI at version 2.0.0 in folder: C:\Users\Maison\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\libraries\SPI 
exit status 1

Compilation error: exit status 1

Your topic has nothing to do with "Showcase" and therefore has been moved to a more suitable location on the forum.

I'm not an ESP32 user but the error message seems to indicate that your sketch is too big.

Which exact board did you select in the IDE?

Can you please post your sketch.

Post your code in code tags, also post the VERBOSE error log in code tags.

It indicates that the .bss section (which contains global and static uninitialized variables) is too large for the DRAM0 memory, which is a region of RAM in ESP32 microcontrollers

I suspect that you are trying to compile a rather old project (VFO_CTRL_V5.ino) with an incompatible version of the ESP32 core for Arduino.

Check also this issue on Github

can you give code? Did you use the feature in Arduino IDE where you can add extra board options? Additional Boards manager url

Thank to everybody for your interest. Like is an old project, i have chosen in board manager, the library version 2.00 in ESP32 board. Now, all is ok.

Again thank you

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.