[Solved] Overflow region dram0_0_seg for big project ...
Posted: Mon Nov 07, 2016 7:40 pm
I am trying to compile a lot of C source files and then link them together for a large application. My goal was to create a large library as an ESP-IDF component. So far, all the compiles are progressing cleanly but at the linkage step, it is failing with the following error:
Somewhere in the depths of my memory I seem to remember something about the current state of our ESP-IDF environment as building code that is loaded into RAM as opposed to being kept in flash... but other than that little snippet, that's all I have.
Does anyone have experience in debugging or tweaking error areas such as this? I am using the out of the box ESP-IDF and latest app template.
Code: Select all
LD app-template.elf
/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/4.8.5/../../../../xtensa-esp32-elf/bin/ld: /home/kolban/esp32/esptest/apps/workspace/jerryscript/build/app-template.elf section `.dram0.bss' will not fit in region `dram0_0_seg'
/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/4.8.5/../../../../xtensa-esp32-elf/bin/ld: region `dram0_0_seg' overflowed by 267900 bytes
/home/kolban/esp32/esptest/esp-idf/make/project.mk:255: recipe for target '/home/kolban/esp32/esptest/apps/workspace/jerryscript/build/app-template.elf' failed
Does anyone have experience in debugging or tweaking error areas such as this? I am using the out of the box ESP-IDF and latest app template.