我一直在使用 ESP8266 板管理器的 2.4.2 一段时间,但最终硬着头皮升级到 2.5.2。
安装似乎很顺利。
然后我尝试编译一个空白草图,以确保要点没问题。不幸的是,我得到了一个退出状态 1。Arduino
IDE 的错误状态的删节版本如下。
代码:
全选Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: \"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compa
tible), 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200\"
C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\\arduino-builder -dump-prefs -logger=machine -hardware C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\\hardware -hardware C:\\Users\\Chris\\Documents\\ArduinoData\\packages -tools C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\\tools-builder -tools C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr -tools C:\\Users\\Chris\\Documents\\ArduinoData\\packages -built-in-libraries C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\\libraries -libraries C:\\Users\\Chris\\Documents\\Dev\\Arduino\\libraries -fqbn=esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,ssl=all,eesz=4M1M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10809 -build-path C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730 -warnings=all -build-cache C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_cache_504304 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\mkspiffs\\2.5.0-3-20ed2b9 -prefs=runtime.tools.mkspiffs-2.5.0-3-20ed2b9.path=C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\mkspiffs\\2.5.0-3-20ed2b9 -prefs=runtime.tools.python.path=C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\python\\3.7.2-post1 -prefs=runtime.tools.python-3.7.2-post1.path=C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\python\\3.7.2-post1 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-3-20ed2b9.path=C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9 -verbose C:\\Users\\Chris\\AppData\\Local\\Temp\\untitled772240480.tmp\\sketch_jun01a\\sketch_jun01a.ino
C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\\arduino-builder -compile -logger=machine -hardware C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\\hardware -hardware C:\\Users\\Chris\\Documents\\ArduinoData\\packages -tools C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\\tools-builder -tools C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\\hardware\\tools\\avr -tools C:\\Users\\Chris\\Documents\\ArduinoData\\packages -built-in-libraries C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\\libraries -libraries C:\\Users\\Chris\\Documents\\Dev\\Arduino\\libraries -fqbn=esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,ssl=all,eesz=4M1M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10809 -build-path C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_build_995730 -warnings=all -build-cache C:\\Users\\Chris\\AppData\\Local\\Temp\\arduino_cache_504304 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\mkspiffs\\2.5.0-3-20ed2b9 -prefs=runtime.tools.mkspiffs-2.5.0-3-20ed2b9.path=C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\mkspiffs\\2.5.0-3-20ed2b9 -prefs=runtime.tools.python.path=C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\python\\3.7.2-post1 -prefs=runtime.tools.python-3.7.2-post1.path=C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\python\\3.7.2-post1 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-3-20ed2b9.path=C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-3-20ed2b9 -verbose C:\\Users\\Chris\\AppData\\Local\\Temp\\untitled772240480.tmp\\sketch_jun01a\\sketch_jun01a.ino
Using board \'nodemcuv2\' from platform in folder: C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2
Using core \'esp8266\' from platform in folder: C:\\Users\\Chris\\Documents\\ArduinoData\\packages\\esp8266\\hardware\\esp8266\\2.5.2
Detecting libraries used...
\"C:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\tools\\\\xtensa-lx106-elf-gcc\\\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++\" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/include\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/lwip2/include\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include\" \"-IC:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730/core\" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 \"-DARDUINO_BOARD=\\\"ESP8266_NODEMCU\\\"\" -DFLASHMODE_DIO -DESP8266 \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\cores\\\\esp8266\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\variants\\\\nodemcu\" \"C:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730\\\\sketch\\\\sketch_jun01a.ino.cpp\" -o nul
Generating function prototypes...
\"C:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\tools\\\\xtensa-lx106-elf-gcc\\\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++\" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/include\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/lwip2/include\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include\" \"-IC:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730/core\" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 \"-DARDUINO_BOARD=\\\"ESP8266_NODEMCU\\\"\" -DFLASHMODE_DIO -DESP8266 \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\cores\\\\esp8266\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\variants\\\\nodemcu\" \"C:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730\\\\sketch\\\\sketch_jun01a.ino.cpp\" -o \"C:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730\\\\preproc\\\\ctags_target_for_gcc_minus_e.cpp\"
\"C:\\\\Program Files\\\\WindowsApps\\\\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\\\\tools-builder\\\\ctags\\\\5.8-arduino11/ctags\" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives \"C:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730\\\\preproc\\\\ctags_target_for_gcc_minus_e.cpp\"
Compiling sketch...
\"C:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\tools\\\\xtensa-lx106-elf-gcc\\\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++\" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/include\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/lwip2/include\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include\" \"-IC:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730/core\" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 \"-DARDUINO_BOARD=\\\"ESP8266_NODEMCU\\\"\" -DFLASHMODE_DIO -DESP8266 \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\cores\\\\esp8266\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\variants\\\\nodemcu\" \"C:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730\\\\sketch\\\\sketch_jun01a.ino.cpp\" -o \"C:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730\\\\sketch\\\\sketch_jun01a.ino.cpp.o\"
Compiling libraries...
Compiling core...
\"C:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\tools\\\\python\\\\3.7.2-post1/python\" \"C:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/signing.py\" --mode header --publickey \"C:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\untitled772240480.tmp\\\\sketch_jun01a/public.key\" --out \"C:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730/core/Updater_Signing.h\"
\"C:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\tools\\\\xtensa-lx106-elf-gcc\\\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-gcc\" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/include\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/lwip2/include\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include\" \"-IC:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730/core\" -c -g -x assembler-with-cpp -MMD -mlongcalls -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 \"-DARDUINO_BOARD=\\\"ESP8266_NODEMCU\\\"\" -DFLASHMODE_DIO -DESP8266 \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\cores\\\\esp8266\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\variants\\\\nodemcu\" \"C:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\cores\\\\esp8266\\\\cont.S\" -o \"C:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730\\\\core\\\\cont.S.o\"
........ More compilation wibble, no warnings or errors
\"C:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\tools\\\\xtensa-lx106-elf-gcc\\\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++\" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/include\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/lwip2/include\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include\" \"-IC:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730/core\" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 \"-DARDUINO_BOARD=\\\"ESP8266_NODEMCU\\\"\" -DFLASHMODE_DIO -DESP8266 \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\cores\\\\esp8266\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\variants\\\\nodemcu\" \"C:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\cores\\\\esp8266\\\\umm_malloc\\\\umm_malloc.cpp\" -o \"C:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730\\\\core\\\\umm_malloc\\\\umm_malloc.cpp.o\"
\"C:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\tools\\\\xtensa-lx106-elf-gcc\\\\2.5.0-3-20ed2b9/bin/xtensa-lx106-elf-g++\" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/include\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/lwip2/include\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include\" \"-IC:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730/core\" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK221=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10809 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 \"-DARDUINO_BOARD=\\\"ESP8266_NODEMCU\\\"\" -DFLASHMODE_DIO -DESP8266 \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\cores\\\\esp8266\" \"-IC:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\variants\\\\nodemcu\" \"C:\\\\Users\\\\Chris\\\\Documents\\\\ArduinoData\\\\packages\\\\esp8266\\\\hardware\\\\esp8266\\\\2.5.2\\\\cores\\\\esp8266\\\\libb64\\\\cdecode.cpp\" -o \"C:\\\\Users\\\\Chris\\\\AppData\\\\Local\\\\Temp\\\\arduino_build_995730\\\\core\\\\libb64\\\\cdecode.cpp.o\"
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
我以前看过关于这个错误的帖子,但最近似乎什么都没有出现。
任何指针将不胜感激。如果一切都失败了,我跳回到 2.4.2
**稍后** 尝试了各种调整,但编译内核仍然失败,退出状态为 1。在 esp8266 内核中尝试编译不同模块时似乎失败了。似乎没有韵律也没有理由,这让我觉得我的设置可能更基本。我将进行全新安装,看看是否可以消除任何怪异现象。
肯定会从任何指针中受益!