WhyCan Forum

本站无需注册,无需积分,无需回复可下载所有资料,如果真的喜欢小站,请您注册之后请至少回复一个帖子激活Id,谢谢支持! 站长QQ: 516333132 (挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2019-09-09 17:58:32

LAQ
会员
注册时间: 2017-09-20
累计积分: 38

关于ESP32的内存不够的问题

请问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.

离线

#2 2019-09-09 18:17:14

awfans
会员
注册时间: 2018-04-03
累计积分: 186

Re: 关于ESP32的内存不够的问题

看起来是 该区域目标文件太大, 导致在 dram0_0_seg 段塞不下了?

离线

页脚