|
Arduino:1.8.13 (Windows 10), 开发板:"NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
D:\various apps\Arduino\arduino-builder -dump-prefs -logger=machine -hardware D:\various apps\Arduino\hardware -hardware C:\Users\N\AppData\Local\Arduino15\packages -tools D:\various apps\Arduino\tools-builder -tools D:\various apps\Arduino\hardware\tools\avr -tools C:\Users\N\AppData\Local\Arduino15\packages -built-in-libraries D:\various apps\Arduino\libraries -libraries D:\文档\Arduino\libraries -fqbn=esp8266com:esp8266:nodemcu:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,eesz=4M2M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10813 -build-path C:\Users\N\AppData\Local\Temp\arduino_build_991958 -warnings=none -build-cache C:\Users\N\AppData\Local\Temp\arduino_cache_107502 -prefs=build.warn_data_percentage=75 -verbose D:\桌面\clock\esp8266\esp8266.ino
D:\various apps\Arduino\arduino-builder -compile -logger=machine -hardware D:\various apps\Arduino\hardware -hardware C:\Users\N\AppData\Local\Arduino15\packages -tools D:\various apps\Arduino\tools-builder -tools D:\various apps\Arduino\hardware\tools\avr -tools C:\Users\N\AppData\Local\Arduino15\packages -built-in-libraries D:\various apps\Arduino\libraries -libraries D:\文档\Arduino\libraries -fqbn=esp8266com:esp8266:nodemcu:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,eesz=4M2M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10813 -build-path C:\Users\N\AppData\Local\Temp\arduino_build_991958 -warnings=none -build-cache C:\Users\N\AppData\Local\Temp\arduino_cache_107502 -prefs=build.warn_data_percentage=75 -verbose D:\桌面\clock\esp8266\esp8266.ino
Using board 'nodemcu' from platform in folder: D:\various apps\Arduino\hardware\esp8266com\esp8266
Using core 'esp8266' from platform in folder: D:\various apps\Arduino\hardware\esp8266com\esp8266
"C:\\Users\\N\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" "D:\\various apps\\Arduino\\hardware\\esp8266com\\esp8266/tools/makecorever.py" --build_path "C:\\Users\\N\\AppData\\Local\\Temp\\arduino_build_991958" --platform_path "D:\\various apps\\Arduino\\hardware\\esp8266com\\esp8266" --version unix-3.0.0-dev
Detecting libraries used...
"C:\\Users\\N\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-ID:\\various apps\\Arduino\\hardware\\esp8266com\\esp8266/tools/sdk/include" "-ID:\\various apps\\Arduino\\hardware\\esp8266com\\esp8266/tools/sdk/lwip2/include" "-ID:\\various apps\\Arduino\\hardware\\esp8266com\\esp8266/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\N\\AppData\\Local\\Temp\\arduino_build_991958/core" -c -w -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_NODEMCU_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-ID:\\various apps\\Arduino\\hardware\\esp8266com\\esp8266\\cores\\esp8266" "-ID:\\various apps\\Arduino\\hardware\\esp8266com\\esp8266\\variants\\nodemcu" "C:\\Users\\N\\AppData\\Local\\Temp\\arduino_build_991958\\sketch\\esp8266.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Error while detecting libraries included by C:\Users\N\AppData\Local\Temp\arduino_build_991958\sketch\esp8266.ino.cpp
Generating function prototypes...
"C:\\Users\\N\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-ID:\\various apps\\Arduino\\hardware\\esp8266com\\esp8266/tools/sdk/include" "-ID:\\various apps\\Arduino\\hardware\\esp8266com\\esp8266/tools/sdk/lwip2/include" "-ID:\\various apps\\Arduino\\hardware\\esp8266com\\esp8266/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\N\\AppData\\Local\\Temp\\arduino_build_991958/core" -c -w -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_NODEMCU_ESP12 -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12\"" -DFLASHMODE_QIO -DESP8266 "-ID:\\various apps\\Arduino\\hardware\\esp8266com\\esp8266\\cores\\esp8266" "-ID:\\various apps\\Arduino\\hardware\\esp8266com\\esp8266\\variants\\nodemcu" "C:\\Users\\N\\AppData\\Local\\Temp\\arduino_build_991958\\sketch\\esp8266.ino.cpp" -o "C:\\Users\\N\\AppData\\Local\\Temp\\arduino_build_991958\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE
xtensa-lx106-elf-g++: error: unrecognized command line option '-std=gnu++17'
exit status 1
为开发板 NodeMCU 0.9 (ESP-12 Module) 编译时出错。
只有loop和setup时能够编译成功。还请大佬帮忙看看!
|
|