FQBN: esp8266:esp8266:nodemcuv2
Using board 'nodemcuv2' from platform in folder: C:\Users\Acer\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2
Using core 'esp8266' from platform in folder: C:\Users\Acer\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/mkbuildoptglobals.py" "C:\\Users\\Acer\\AppData\\Local\\Programs\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\build" 10607 "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383" "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core/build.opt" "C:\\Users\\Acer\\Desktop\\code\\ESP8266_GPS/ESP8266_GPS.ino.globals.h" "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\cores\\esp8266/CommonHFile.h"
default_encoding: cp1252
Assume aggressive 'core.a' caching enabled.
Note: optional global include file 'C:\Users\Acer\Desktop\code\ESP8266_GPS\ESP8266_GPS.ino.globals.h' does not exist.
Read more at https://arduino-esp8266.readthedocs.io/en/latest/faq/a06-global-build-options.html
Detecting libraries used...
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -DESP8266 "@C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core/build.opt" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/lwip2/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core" -c "@C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/warnings/none-cppflags" -Os -g -free -fipa-pta -Werror=return-type -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=10607 -DARDUINO_ESP8266_NODEMCU_ESP12E -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12E\"" "-DARDUINO_BOARD_ID=\"nodemcuv2\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\cores\\esp8266" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\variants\\nodemcu" "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\sketch\\ESP8266_GPS.ino.cpp" -o nul
Alternatives for TinyGPS++.h: [TinyGPSPlus@1.0.3]
ResolveLibrary(TinyGPS++.h)
-> candidates: [TinyGPSPlus@1.0.3]
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -DESP8266 "@C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core/build.opt" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/lwip2/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core" -c "@C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/warnings/none-cppflags" -Os -g -free -fipa-pta -Werror=return-type -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=10607 -DARDUINO_ESP8266_NODEMCU_ESP12E -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12E\"" "-DARDUINO_BOARD_ID=\"nodemcuv2\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\cores\\esp8266" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\variants\\nodemcu" "-Ic:\\Users\\Acer\\Documents\\Arduino\\libraries\\TinyGPSPlus-master\\src" "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\sketch\\ESP8266_GPS.ino.cpp" -o nul
Alternatives for SoftwareSerial.h: [EspSoftwareSerial@8.0.1]
ResolveLibrary(SoftwareSerial.h)
-> candidates: [EspSoftwareSerial@8.0.1]
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -DESP8266 "@C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core/build.opt" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/lwip2/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core" -c "@C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/warnings/none-cppflags" -Os -g -free -fipa-pta -Werror=return-type -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=10607 -DARDUINO_ESP8266_NODEMCU_ESP12E -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12E\"" "-DARDUINO_BOARD_ID=\"nodemcuv2\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\cores\\esp8266" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\variants\\nodemcu" "-Ic:\\Users\\Acer\\Documents\\Arduino\\libraries\\TinyGPSPlus-master\\src" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\libraries\\SoftwareSerial\\src" "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\sketch\\ESP8266_GPS.ino.cpp" -o nul
Using cached library dependencies for file: c:\Users\Acer\Documents\Arduino\libraries\TinyGPSPlus-master\src\TinyGPS++.cpp
Using cached library dependencies for file: C:\Users\Acer\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\SoftwareSerial\src\SoftwareSerial.cpp
Generating function prototypes...
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -DESP8266 "@C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core/build.opt" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/lwip2/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core" -c "@C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/warnings/none-cppflags" -Os -g -free -fipa-pta -Werror=return-type -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=10607 -DARDUINO_ESP8266_NODEMCU_ESP12E -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12E\"" "-DARDUINO_BOARD_ID=\"nodemcuv2\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\cores\\esp8266" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\variants\\nodemcu" "-Ic:\\Users\\Acer\\Documents\\Arduino\\libraries\\TinyGPSPlus-master\\src" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\libraries\\SoftwareSerial\\src" "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\sketch\\ESP8266_GPS.ino.cpp" -o "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\builtin\\tools\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/signing.py" --mode header --publickey "C:\\Users\\Acer\\Desktop\\code\\ESP8266_GPS/public.key" --out "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core/Updater_Signing.h"
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -DESP8266 "@C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core/build.opt" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/lwip2/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core" -c "@C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/warnings/extra-cppflags" -Os -g -free -fipa-pta -Werror=return-type -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU_ESP12E -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12E\"" "-DARDUINO_BOARD_ID=\"nodemcuv2\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\cores\\esp8266" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\variants\\nodemcu" "-Ic:\\Users\\Acer\\Documents\\Arduino\\libraries\\TinyGPSPlus-master\\src" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\libraries\\SoftwareSerial\\src" "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\sketch\\ESP8266_GPS.ino.cpp" -o "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\sketch\\ESP8266_GPS.ino.cpp.o"
Compiling libraries...
Compiling library "TinyGPSPlus"
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -DESP8266 "@C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core/build.opt" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/lwip2/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core" -c "@C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/warnings/extra-cppflags" -Os -g -free -fipa-pta -Werror=return-type -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU_ESP12E -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12E\"" "-DARDUINO_BOARD_ID=\"nodemcuv2\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\cores\\esp8266" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\variants\\nodemcu" "-Ic:\\Users\\Acer\\Documents\\Arduino\\libraries\\TinyGPSPlus-master\\src" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\libraries\\SoftwareSerial\\src" "c:\\Users\\Acer\\Documents\\Arduino\\libraries\\TinyGPSPlus-master\\src\\TinyGPS++.cpp" -o "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\libraries\\TinyGPSPlus-master\\TinyGPS++.cpp.o"
c:\Users\Acer\Documents\Arduino\libraries\TinyGPSPlus-master\src\TinyGPS++.cpp: In member function 'bool TinyGPSPlus::encode(char)':
c:\Users\Acer\Documents\Arduino\libraries\TinyGPSPlus-master\src\TinyGPS++.cpp:63:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
63 | parity ^= (uint8_t)c;
| ~~~~~~~^~~~~~~~~~~~~
c:\Users\Acer\Documents\Arduino\libraries\TinyGPSPlus-master\src\TinyGPS++.cpp:64:3: note: here
64 | case '\r':
| ^~~~
Compiling library "EspSoftwareSerial"
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -DESP8266 "@C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core/build.opt" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/lwip2/include" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/core" -c "@C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/warnings/extra-cppflags" -Os -g -free -fipa-pta -Werror=return-type -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU_ESP12E -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12E\"" "-DARDUINO_BOARD_ID=\"nodemcuv2\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\cores\\esp8266" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\variants\\nodemcu" "-Ic:\\Users\\Acer\\Documents\\Arduino\\libraries\\TinyGPSPlus-master\\src" "-IC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\libraries\\SoftwareSerial\\src" "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\libraries\\SoftwareSerial\\src\\SoftwareSerial.cpp" -o "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\libraries\\SoftwareSerial\\SoftwareSerial.cpp.o"
Compiling core...
Using precompiled core: C:\Users\Acer\AppData\Local\Temp\arduino\cores\4b0d40fb7268de709eef36c53f3c325a\core.a
Linking everything together...
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/mkdir.py" -p "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/ld_h/"
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/cp.py" "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/ld/eagle.flash.4m2m.ld" "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/ld_h/local.eagle.flash.ld.h"
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-gcc" -CC -E -P -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/ld_h/local.eagle.flash.ld.h" -o "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/local.eagle.flash.ld"
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-gcc" -CC -E -P -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/ld/eagle.app.v6.common.ld.h" -o "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/local.eagle.app.v6.common.ld"
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-gcc" -fno-exceptions -Wl,-Map "-Wl,C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/ESP8266_GPS.ino.map" -g "@C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/warnings/extra-cflags" -Os -nostdlib -Wl,--no-check-sections -u app_entry -u _printf_float -u _scanf_float -Wl,-static "-LC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/lib" "-LC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/lib/NONOSDK22x_190703" "-LC:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383" "-LC:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/libc/xtensa-lx106-elf/lib" -Tlocal.eagle.flash.ld -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read -o "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/ESP8266_GPS.ino.elf" -Wl,--start-group "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\sketch\\ESP8266_GPS.ino.cpp.o" "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\libraries\\TinyGPSPlus-master\\TinyGPS++.cpp.o" "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383\\libraries\\SoftwareSerial\\SoftwareSerial.cpp.o" "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\cores\\4b0d40fb7268de709eef36c53f3c325a\\core.a" -lhal -lphy -lpp -lnet80211 -llwip2-536-feat -lwpa -lcrypto -lmain -lwps -lbearssl -lespnow -lsmartconfig -lairkiss -lwpa2 -lstdc++ -lm -lc -lgcc -Wl,--end-group "-LC:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383"
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/elf2bin.py" --eboot "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/bootloaders/eboot/eboot.elf" --app "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/ESP8266_GPS.ino.elf" --flash_mode dio --flash_freq 40 --flash_size 4M --path "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin" --out "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/ESP8266_GPS.ino.bin"
Creating BIN file "C:\Users\Acer\AppData\Local\Temp\arduino\sketches\371384EBA89E8E0E81A3461639F0B383/ESP8266_GPS.ino.bin" using "C:\Users\Acer\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/bootloaders/eboot/eboot.elf" and "C:\Users\Acer\AppData\Local\Temp\arduino\sketches\371384EBA89E8E0E81A3461639F0B383/ESP8266_GPS.ino.elf"
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/signing.py" --mode sign --privatekey "C:\\Users\\Acer\\Desktop\\code\\ESP8266_GPS/private.key" --bin "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/ESP8266_GPS.ino.bin" --out "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/ESP8266_GPS.ino.bin.signed" --legacy "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/ESP8266_GPS.ino.bin.legacy_sig"
"C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -X utf8 -I "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sizes.py" --elf "C:\\Users\\Acer\\AppData\\Local\\Temp\\arduino\\sketches\\371384EBA89E8E0E81A3461639F0B383/ESP8266_GPS.ino.elf" --path "C:\\Users\\Acer\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin" --mmu "-DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000"
. Variables and constants in RAM (global, static), used 28960 / 80192 bytes (36%)
║ SEGMENT BYTES DESCRIPTION
╠══ DATA 1496 initialized variables
╠══ RODATA 1016 constants
╚══ BSS 26448 zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 61895 / 65536 bytes (94%)
║ SEGMENT BYTES DESCRIPTION
╠══ ICACHE 32768 reserved space for flash instruction cache
╚══ IRAM 29127 code in IRAM
. Code in flash (default, ICACHE_FLASH_ATTR), used 245496 / 1048576 bytes (23%)
║ SEGMENT BYTES DESCRIPTION
╚══ IROM 245496 code in flash
Using library TinyGPSPlus at version 1.0.3 in folder: C:\Users\Acer\Documents\Arduino\libraries\TinyGPSPlus-master
Using library EspSoftwareSerial at version 8.0.1 in folder: C:\Users\Acer\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\SoftwareSerial
**I can upload code normally using Arduino 1.8.19 but when using Arduino IDE 2.X.X, it tells me that "Port monitor error: command'open' failed: Invalid serial port. Could not connect to COM8 serial port. **
I can upload code normally using Arduino 1.8.19 but when using Arduino IDE 2.X.X, it tells me that "Port monitor error: command'open' failed: Invalid serial port. Could not connect to COM8 serial port."
I'm not familiar with your board. One rule for serial ports is that only one application can have the serial port open at a time. So if you have e.g. serial monitor open in IDE 1.8.19, you can not upload using IDE2.x. If that's what you're trying to do, it would explain the problem.
If you don't have IDE 1.8.19 (and its serial monitor) open, I'm not sure what is going on. From looking at one schematic on the web, your board uses the CH340 TTL-to-USB converter. If it doesn't and it uses an FTDI TTL-to-USB converter (you'll have to check it), there is a bug in IDE 2.x that prevents uploading in IDE 2.x when the serial monitor is open; solution is to close the serial monitor.
I've moved your topic to a more suitable location on the forum.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.