Closed addelichtman closed 2 years ago
It looks like you are trying to build true.ino example on release version of the library. You need latest library version from master branch as desired functionality is under development (but it's stable enough) and not included in any release yet.
Hello emelianov thanks for the prompt reaction. How can I download the complete development version? Kind regards, Ad
From the library GitHub page go to Code - Download ZIP. Extract the file to subfolder under your Arduino Library folder. I suspect detailed tutorials should be available on YouTube.
Hello Emilianov, thanks for the explanation. I downloaded 4.1.0 and if I compile my existing sketch I got these errors: //////////////////START ERROR LISTING///////////////// Arduino: 1.8.19 (Windows 10), Board: "Generic ESP8266 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, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\ad_va\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\ad_va\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\ad_va\Documents\Arduino\libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=40,FlashMode=dout,eesz=1M64,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -vid-pid=1A86_7523 -ide-version=10819 -build-path C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251 -warnings=none -build-cache C:\Users\ad_va\AppData\Local\Temp\arduino_cache_959169 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mklittlefs.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mklittlefs-3.0.4-gcc10.3-1757bed.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mkspiffs.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mkspiffs-3.0.4-gcc10.3-1757bed.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.xtensa-lx106-elf-gcc-3.0.4-gcc10.3-1757bed.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.python3.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -verbose C:\Users\ad_va\Documents\Projects\Local\Arduino\APP1015G_E2_WD_XC8_WIFIBRIDGE.X\APP1015G_E2_WD_XC8_WIFIBRIDGE.X.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\ad_va\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\ad_va\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\ad_va\Documents\Arduino\libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=40,FlashMode=dout,eesz=1M64,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -vid-pid=1A86_7523 -ide-version=10819 -build-path C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251 -warnings=none -build-cache C:\Users\ad_va\AppData\Local\Temp\arduino_cache_959169 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mklittlefs.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mklittlefs-3.0.4-gcc10.3-1757bed.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mkspiffs.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mkspiffs-3.0.4-gcc10.3-1757bed.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.xtensa-lx106-elf-gcc-3.0.4-gcc10.3-1757bed.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.python3.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -verbose C:\Users\ad_va\Documents\Projects\Local\Arduino\APP1015G_E2_WD_XC8_WIFIBRIDGE.X\APP1015G_E2_WD_XC8_WIFIBRIDGE.X.ino
Using board 'generic' from platform in folder: C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2
Using core 'esp8266' from platform in folder: C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2
Detecting libraries used...
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\sketch\APP1015G_E2_WD_XC8_WIFIBRIDGE.X.ino.cpp" -o nul
Alternatives for ESP8266WiFi.h: [ESP8266WiFi@1.0]
ResolveLibrary(ESP8266WiFi.h)
-> candidates: [ESP8266WiFi@1.0]
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\sketch\APP1015G_E2_WD_XC8_WIFIBRIDGE.X.ino.cpp" -o nul
Alternatives for ModbusIP_ESP8266.h: [modbus-esp8266-4.1.0@4.0.0 modbus_esp8266-4.0.0@4.0.0]
ResolveLibrary(ModbusIP_ESP8266.h)
-> candidates: [modbus-esp8266-4.1.0@4.0.0 modbus_esp8266-4.0.0@4.0.0]
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\sketch\APP1015G_E2_WD_XC8_WIFIBRIDGE.X.ino.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\BearSSLHelpers.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\CertStoreBearSSL.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFi.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiAP.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiGeneric.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiGratuitous.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiMulti.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiSTA-WPS.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiSTA.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiScan.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\WiFiClient.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\WiFiClientSecureBearSSL.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\WiFiServer.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\WiFiServerSecureBearSSL.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\WiFiUdp.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\enable_wifi_at_boot_time.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src\Modbus.cpp" -o nul
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src\ModbusRTU.cpp" -o nul
Error while detecting libraries included by C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src\ModbusRTU.cpp
Generating function prototypes...
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\sketch\APP1015G_E2_WD_XC8_WIFIBRIDGE.X.ino.cpp" -o "C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1/python3" -I "C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/signing.py" --mode header --publickey "C:\Users\ad_va\Documents\Projects\Local\Arduino\APP1015G_E2_WD_XC8_WIFIBRIDGE.X/public.key" --out "C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core/Updater_Signing.h"
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -Os -g -free -fipa-pta -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\sketch\APP1015G_E2_WD_XC8_WIFIBRIDGE.X.ino.cpp" -o "C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\sketch\APP1015G_E2_WD_XC8_WIFIBRIDGE.X.ino.cpp.o"
Compiling libraries...
Compiling library "ESP8266WiFi"
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\BearSSLHelpers.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\ESP8266WiFiGratuitous.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\CertStoreBearSSL.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\ESP8266WiFiAP.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\ESP8266WiFi.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\ESP8266WiFiMulti.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\ESP8266WiFiGeneric.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\ESP8266WiFiSTA.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\ESP8266WiFiSTA-WPS.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\WiFiClient.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\ESP8266WiFiScan.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\WiFiClientSecureBearSSL.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\WiFiServer.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\WiFiUdp.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\enable_wifi_at_boot_time.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\WiFiServerSecureBearSSL.cpp.o
Using previously compiled file: C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\ESP8266WiFi\ESP8266WiFi.a
Compiling library "modbus-esp8266-4.1.0"
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -Os -g -free -fipa-pta -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src\ModbusRTU.cpp" -o "C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\modbus-esp8266-4.1.0\ModbusRTU.cpp.o"
"C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/lwip2/include" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\ad_va\AppData\Local\Temp\arduino_build_462251/core" -c -w -Werror=return-type -Os -g -free -fipa-pta -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\variants\generic" "-IC:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src" "-IC:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src" "C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src\Modbus.cpp" -o "C:\Users\ad_va\AppData\Local\Temp\arduino_build_462251\libraries\modbus-esp8266-4.1.0\Modbus.cpp.o"
C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src\ModbusRTU.cpp:128: error: unterminated #else
128 | #if defined(MODBUSRTU_REDE)
|
C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src\ModbusRTU.cpp:105: error: unterminated #else
105 | #if defined(MODBUSRTU_REDE)
|
C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src\ModbusRTU.cpp: In member function 'bool ModbusRTUTemplate::rawSend(uint8_t, uint8_t*, uint8_t)':
C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src\ModbusRTU.cpp:112:2: error: expected '}' at end of input
112 | }
| ^
C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0\src\ModbusRTU.cpp:96:79: note: to match this '{'
96 | bool ModbusRTUTemplate::rawSend(uint8_t slaveId, uint8_t* frame, uint8_t len) {
| ^
Multiple libraries were found for "ModbusIP_ESP8266.h"
Used: C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0
Not used: C:\Users\ad_va\Documents\Arduino\libraries\modbus_esp8266-4.0.0
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi
Using library modbus-esp8266-4.1.0 at version 4.0.0 in folder: C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-4.1.0
exit status 1
Error compiling for board Generic ESP8266 Module.
//////////////////END ERROR LISTING///////////////////
Could you please comment on this? Thanks! Kind regards, Ad
You need to download source from master
branch
Thank you for your info, Could you please help me on how to do the following: I want to read 23 parameters from ModbusRTU to ModbusTCP starting from address 256, If I read the parameters from Modbus TCP once I only want to read once from the ModbusRTU side.
The same for writing: Write the 23 parameters once to ModbusTCP and pass them once to ModbusRTU. Your help is much appreciated. Regards Ad
true.ino
is right base for your project. For sure it requires adaptation. This adaptations is large enough to out of the help scope.
Hello emelianov, I still did not succeed in finding the true.ino - library combination, could you please provide me the correct link? Thanks Ad
Thanks!
What does this error mean?:
In file included from C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-master\src/ModbusTCP.h:15,
from C:\Users\ad_va\Documents\Projects\Local\Arduino\true\true\true.ino:13:
C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-master\src/ModbusTCPTemplate.h: In instantiation of 'uint32_t ModbusTCPTemplate<SERVER, CLIENT>::eventSource() [with SERVER = WiFiServerESPWrapper; CLIENT = WiFiClient; uint32_t = unsigned int]':
C:\Users\ad_va\Documents\Projects\Local\Arduino\true\true\true.ino:38:36: required from here
C:\Users\ad_va\Documents\Arduino\libraries\modbus-esp8266-master\src/ModbusTCPTemplate.h:188:34: error: 'class WiFiClient' has no member named 'remoteIP'
188 | return (uint32_t)tcpclient[n]->remoteIP();
| ~~~~^~
regards Ad
true.ino
example was built for ESP32. You need to adopt it. At least replace
#include <WiFi.h>
with
#include <ESP8266WiFi.h>
That did it! , thank you.
Hello I try to compile the true.ino example however I get the error //////////////////////////////////////////////START OF ERROR MESSAGE//////////////////////////////////////////////////////// Arduino: 1.8.19 (Windows 10), Board: "Generic ESP8266 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, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Users\ad_va\Documents\Arduino\true_sketch_feb25a\true_sketch_feb25a.ino: In function 'Modbus::ResultCode cbTcpRaw(uint8_t, uint8_t, void)':
true_sketch_feb25a:43:23: error: 'frame_arg_t' is not a member of 'Modbus'
43 | auto src = (Modbus::frame_arg_t*) custom;
true_sketch_feb25a:43:35: error: expected primary-expression before ')' token
43 | auto src = (Modbus::frame_arg_t*) custom;
true_sketch_feb25a:48:9: error: 'class ModbusRTU' has no member named 'rawResponce'
48 | rtu.rawResponce(slaveRunning, data, len);
true_sketch_feb25a:50:20: error: 'EX_PASSTHROUGH' is not a member of 'Modbus'
50 | return Modbus::EX_PASSTHROUGH; // Allow frame to be processed by generic ModbusTCP routines
C:\Users\ad_va\Documents\Arduino\true_sketch_feb25a\true_sketch_feb25a.ino: In function 'Modbus::ResultCode cbRtuRaw(uint8_t, uint8_t, void)':
true_sketch_feb25a:59:23: error: 'frame_arg_t' is not a member of 'Modbus'
59 | auto src = (Modbus::frame_arg_t*) custom;
true_sketch_feb25a:59:35: error: expected primary-expression before ')' token
59 | auto src = (Modbus::frame_arg_t*) custom;
C:\Users\ad_va\Documents\Arduino\true_sketch_feb25a\true_sketch_feb25a.ino: In lambda function:
true_sketch_feb25a:61:107: error: 'src' is not captured
61 | auto it = std::find_if(mapping.begin(), mapping.end(), [src](slave_map_t& item){return (item.slaveId == src->slaveId);}); // Find mapping
C:\Users\ad_va\Documents\Arduino\true_sketch_feb25a\true_sketch_feb25a.ino:61:62: note: the lambda has no capture-default
61 | auto it = std::find_if(mapping.begin(), mapping.end(), [src](slave_map_t& item){return (item.slaveId == src->slaveId);}); // Find mapping
C:\Users\ad_va\Documents\Arduino\true_sketch_feb25a\true_sketch_feb25a.ino:59:8: note: 'src' declared here
59 | auto src = (Modbus::frame_arg_t*) custom;
C:\Users\ad_va\Documents\Arduino\true_sketch_feb25a\true_sketch_feb25a.ino: In function 'Modbus::ResultCode cbRtuRaw(uint8_t, uint8_t, void)':
true_sketch_feb25a:67:13: error: 'class ModbusRTU' has no member named 'errorResponce'
67 | rtu.errorResponce(it->slaveId, (Modbus::FunctionCode)data[0], Modbus::EX_DEVICE_FAILED_TO_RESPOND); // Send exceprional responce to master if no connection established
true_sketch_feb25a:75:24: error: 'class ModbusTCP' has no member named 'rawRequest'; did you mean 'Modbus::cbRequest Modbus::_onRequest'? (not accessible from this context)
75 | transRunning = tcp.rawRequest(it->ip, data, len, cbTcpTrans, it->unitId);
In file included from C:\Users\ad_va\Documents\Arduino\libraries\modbus_esp8266-4.0.0\src/ModbusAPI.h:8,
C:\Users\ad_va\Documents\Arduino\libraries\modbus_esp8266-4.0.0\src/Modbus.h:273:19: note: declared protected here
273 | cbRequest _onRequest = _onRequestDefault;
true_sketch_feb25a:79:11: error: 'class ModbusRTU' has no member named 'errorResponce'
79 | rtu.errorResponce(it->slaveId, (Modbus::FunctionCode)data[0], Modbus::EX_DEVICE_FAILED_TO_RESPOND); // Send exceprional responce to master if request bridging failed
true_sketch_feb25a:87:18: error: 'EX_PASSTHROUGH' is not a member of 'Modbus'
87 | return Modbus::EX_PASSTHROUGH; // Process by generic ModbusRTU routines if no mapping found
C:\Users\ad_va\Documents\Arduino\true_sketch_feb25a\true_sketch_feb25a.ino: In function 'void setup()':
true_sketch_feb25a:103:7: error: 'class ModbusTCP' has no member named 'onRaw'
103 | tcp.onRaw(cbTcpRaw); // Assign raw data processing callback
true_sketch_feb25a:105:35: error: invalid conversion from 'int' to 'SerialMode' [-fpermissive]
105 | Serial1.begin(9600, SERIAL_8N1, 18, 19);
In file included from C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:288,
C:\Users\ad_va\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/HardwareSerial.h:87:68: note: initializing argument 3 of 'void HardwareSerial::begin(long unsigned int, SerialConfig, SerialMode, uint8_t)'
87 | void begin(unsigned long baud, SerialConfig config, SerialMode mode, uint8_t tx_pin)
true_sketch_feb25a:108:7: error: 'class ModbusRTU' has no member named 'onRaw'
108 | rtu.onRaw(cbRtuRaw); // Assign raw data processing callback
In file included from C:\Users\ad_va\Documents\Arduino\libraries\modbus_esp8266-4.0.0\src/ModbusTCP.h:15,
C:\Users\ad_va\Documents\Arduino\libraries\modbus_esp8266-4.0.0\src/ModbusTCPTemplate.h: In instantiation of 'uint32_t ModbusTCPTemplate<SERVER, CLIENT>::eventSource() [with SERVER = WiFiServerESPWrapper; CLIENT = WiFiClient; uint32_t = unsigned int]':
C:\Users\ad_va\Documents\Arduino\true_sketch_feb25a\true_sketch_feb25a.ino:36:36: required from here
C:\Users\ad_va\Documents\Arduino\libraries\modbus_esp8266-4.0.0\src/ModbusTCPTemplate.h:179:34: error: 'class WiFiClient' has no member named 'remoteIP'
179 | return (uint32_t)tcpclient[n]->remoteIP();
C:\Users\ad_va\Documents\Arduino\libraries\modbus_esp8266-4.0.0\src/ModbusTCPTemplate.h: In instantiation of 'void ModbusTCPTemplate<SERVER, CLIENT>::task() [with SERVER = WiFiServerESPWrapper; CLIENT = WiFiClient]':
C:\Users\ad_va\Documents\Arduino\true_sketch_feb25a\true_sketch_feb25a.ino:117:12: required from here
C:\Users\ad_va\Documents\Arduino\libraries\modbus_esp8266-4.0.0\src/ModbusTCPTemplate.h:211:57: error: 'class WiFiClient' has no member named 'remoteIP'
211 | if (cbConnect == nullptr || cbConnect(currentClient->remoteIP())) {
C:\Users\ad_va\Documents\Arduino\libraries\modbus_esp8266-4.0.0\src/ModbusTCPTemplate.h:214:34: error: 'class WiFiClient' has no member named 'remoteIP'
214 | n = getMaster(currentClient->remoteIP());
C:\Users\ad_va\Documents\Arduino\libraries\modbus_esp8266-4.0.0\src/ModbusTCPTemplate.h: In instantiation of 'int8_t ModbusTCPTemplate<SERVER, CLIENT>::getSlave(IPAddress) [with SERVER = WiFiServerESPWrapper; CLIENT = WiFiClient; int8_t = signed char]':
C:\Users\ad_va\Documents\Arduino\libraries\modbus_esp8266-4.0.0\src/ModbusTCPTemplate.h:501:13: required from 'bool ModbusTCPTemplate<SERVER, CLIENT>::disconnect(IPAddress) [with SERVER = WiFiServerESPWrapper; CLIENT = WiFiClient]'
C:\Users\ad_va\Documents\Arduino\true_sketch_feb25a\true_sketch_feb25a.ino:36:37: required from here
C:\Users\ad_va\Documents\Arduino\libraries\modbus_esp8266-4.0.0\src/ModbusTCPTemplate.h:446:66: error: 'class WiFiClient' has no member named 'remoteIP'
446 | if (tcpclient[i] && tcpclient[i]->connected() && tcpclient[i]->remoteIP() == ip && !BIT_CHECK(tcpServerConnection, i))
exit status 1
'frame_arg_t' is not a member of 'Modbus'
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. //////////////////////////////////////////////END OF ERROR MESSAGE//////////////////////////////////////////////////////// I use library modbus-esp8266 version 4.0.0 Can you please help me out on this? Thank you, Ad