zamer521 发表于 2022-5-20 23:01

esp8266编译失败

我是用的别人的开源项目,编译到最后提示这个错误,求大佬帮我看一下是什么问题,万分感谢


Arduino:1.8.18 (Windows 10), 开发板:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"


c:/users/zamer/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Zamer\AppData\Local\Temp\arduino_build_421378/xz009.ino.elf section `.rodata' will not fit in region `dram0_0_seg'

c:/users/zamer/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: address 0x4002d1b0 of C:\Users\Zamer\AppData\Local\Temp\arduino_build_421378/xz009.ino.elf section `.bss' is not within region `dram0_0_seg'

c:/users/zamer/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: address 0x4002d1b0 of C:\Users\Zamer\AppData\Local\Temp\arduino_build_421378/xz009.ino.elf section `.bss' is not within region `dram0_0_seg'

collect2.exe: error: ld returned 1 exit status

exit status 1

为开发板 NodeMCU 1.0 (ESP-12E Module) 编译时出错。



在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。


t3486784401 发表于 2022-5-22 13:04

在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
页: [1]
查看完整版本: esp8266编译失败