请问eclipse编译的时候报如下错误该怎样解决?
d:/lin_work/esp32_work/toolchain/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/lin_work/esp32_work/esp32_prj/autofan_ble_wifi/build/autofan_ble_wifi.elf section `.dram0.bss' will not fit in region `dram0_0_seg'
d:/lin_work/esp32_work/toolchain/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: DRAM segment data does not fit.
d:/lin_work/esp32_work/toolchain/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: region `dram0_0_seg' overflowed by 21080 bytes
collect2.exe: error: ld returned 1 exit status
make: *** [D:\lin_work\esp32_work\esp32_prj\esp\esp-idf/make/project.mk:523: /d/lin_work/esp32_work/esp32_prj/autofan_ble_wifi/build/autofan_ble_wifi.elf] Error 1
"make all" terminated with exit code 2. Build might be incomplete.
离线
看起来是 该区域目标文件太大, 导致在 dram0_0_seg 段塞不下了?
离线
很多时候不是内存不够了 应该是分区的问题 可以参考官方的文档
https://docs.espressif.com/projects/esp-idf/zh_CN/latest/esp32/api-guides/partition-tables.html
离线