Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

ESP32 data segment size issues

I have multiple (large) lookup tables compiled into my ESP32 mongoose app, and now the espressif linker is barking:

/opt/Espressif/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/wegscd/Jenesis/sti-gateway/build/objs/sti-gateway.elf section `.dram0.bss' will not fit in region `dram0_0_seg'
/opt/Espressif/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: DRAM segment data does not fit.
/opt/Espressif/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: region `dram0_0_seg' overflowed by 2264 bytes
collect2: error: ld returned 1 exit status

No one table is too big, but the combination appears to be. Is there a way to adjust the build to get these into separate segments?

Comments

Sign In or Register to comment.