Cant get the nodemcu to even turn on a led

Are the port names different in XOD than what is labeled on the board? Ive tried using D0, D1, and D5 ports of Nodemcu board and none of them worked. Not sure what Im doing wrong here. During the upload phase to the board and about half way through the upload the led light will turn on but will turn off when the upload is finished.

Hi! uther2017

Can you please tell us what board model exactly do you use?
Also, the screenshot of your patch or loading/compiling error would help us to solve your problem faster. Thanks.

NodeMcu ESP8266 V3 Lua CH340

And at first i just used a digital write node set at a default of “true” and for pin “D1”. When that didnt work I tried the first Led tutorial and that didnt work either.
Also there is no compiling error. Everything uploads to the board normally.

Figure out the correct name of the ports and pins for the Board.
For example, here what I found on Web:

Using NodeMcu try to fire the “onboard” LED. It is “16” or “D16” in XOD.
Flash the board as the NodeMCU 1.0 (ESP-12E Module).

This patch works fine on NodeMCU devkit v0.9 (yellow pill) for me.

1

Unfortunately I can’t specifically test your board, I don’t have it.

I tried your patch and did the D16 port for the Nodemcu and did the upload. The upload said it was successful but the led light never came on.

edit : I just tried D2 for the pin and it worked! Now the led on the board is flashing. D5 on the board is D14 on XOD. So yeah it was all just a mapping issue and thanks for the link. That really helped.

Yes, the pin numbers are messed up and that’s a known problem (https://github.com/xodio/xod/issues/1529). For now you have to figure out the “true” number of GPIO in terms of the ESP8266 chip rather than in terms of NodeMCU.

Will this stop it from working with the esp8266 node for connecting to the internet in xod? When I tried to use one of the example nodes it gave me a compiling error when I tried to upload to the board. Its acted like it couldn’t recognize the board I was using

No, the pin numbering has nothing to do with internet connectivity.

The full verbatim output of the compiler with the error would help a lot. I can’t tell much without seeing what’s going wrong.

I get this when I tried to upload the Example-Get-Data-From-Dweet to it.

Error: exit status 1
Compilation failed.
Compilation failed
Command /opt/XOD\ IDE/resources/arduino-cli --config-file=/tmp/arduino-cliBI5BJc/.cli-config.yml compile --fqbn esp8266:esp8266:nodemcuv2:Debug=Serial,DebugLevel=COREWIFIHTTP_UPDATEUPDATEROTAOOM,FlashErase=all,UploadSpeed=9600 --verbose /tmp/xod_temp_sketchbookHwHgEb/xod_1575074907975_sketch failed with code 1
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.

Quick Help
Select a node or patch to view its documentation article

You need to scroll up to see what the error message is.

This is the whole message.

Begin compiling code for the board NodeMCU 1.0 (ESP-12E Module) :package:

Using board ‘nodemcuv2’ from platform in folder: /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3
Using core ‘esp8266’ from platform in folder: /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3

Detecting libraries used…

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu /tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/sketch/xod_1575082748426_sketch.ino.cpp -o /dev/null

Alternatives for ESP8266WiFi.h: [ESP8266WiFi@1.0]
ResolveLibrary(ESP8266WiFi.h)
-> candidates: [ESP8266WiFi@1.0]

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/sketch/xod_1575082748426_sketch.ino.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/BearSSLHelpers.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/CertStoreBearSSL.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/ESP8266WiFi.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/ESP8266WiFiAP.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/ESP8266WiFiMulti.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/ESP8266WiFiScan.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/WiFiClient.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/WiFiClientSecureAxTLS.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/WiFiClientSecureBearSSL.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/WiFiServer.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/WiFiServerSecureAxTLS.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/WiFiServerSecureBearSSL.cpp -o /dev/null

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src/WiFiUdp.cpp -o /dev/null

Generating function prototypes…
/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/sketch/xod_1575082748426_sketch.ino.cpp -o /tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/preproc/ctags_target_for_gcc_minus_e.cpp

/home/uther/xod/packages/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c+±kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/preproc/ctags_target_for_gcc_minus_e.cpp

Compiling sketch…

/home/uther/xod/packages/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/lwip2/include -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_ESP_OOM -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/cores/esp8266 -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/variants/nodemcu -I/home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi/src /tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/sketch/xod_1575082748426_sketch.ino.cpp -o /tmp/arduino-sketch-917D8478AF6365B53D68FB653DC35938/sketch/xod_1575082748426_sketch.ino.cpp.o

/tmp/xod_temp_sketchbookjNZ7GC/xod_1575082748426_sketch/xod_1575082748426_sketch.ino:4359:40: error: ‘A2’ was not declared in this scope
constexpr uint8_t node_44_output_VAL = A2;
^

Multiple libraries were found for “ESP8266WiFi.h”
Used: /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi

Using library ESP8266WiFi at version 1.0 in folder: /home/uther/xod/packages/packages/esp8266/hardware/esp8266/2.4.3/libraries/ESP8266WiFi

Error: exit status 1
Compilation failed.
Compilation failed
Command /opt/XOD\ IDE/resources/arduino-cli --config-file=/tmp/arduino-cliV3n5VC/.cli-config.yml compile --fqbn esp8266:esp8266:nodemcuv2:Debug=Serial,DebugLevel=COREWIFIHTTP_UPDATEUPDATEROTAOOM,FlashErase=all,UploadSpeed=9600 --verbose /tmp/xod_temp_sketchbookjNZ7GC/xod_1575082748426_sketch failed with code 1
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.

Quick Help
Select a node or patch to view its documentation article