NOT Arduino-IDE OTA not async elegant OTA but some other (more reliable) OTA

Hello everybody,

since now I'm using Async elegant OTA.
But somehow it is working unreliable
I tried to setup the Arduino-IDE OTA but this did not work
and I don't want to hassle around with it for days

So does somebody know if there is another library to do OTA for ESP8266 / ESP32?

Again: I don't want to use Arduino-IDE internal OTA

Again: I'm looking for an alternative for Async elegant OTA

best regards Stefan

Async elegant OTA is just icing on the cake and using Arduino’s OTA. As the developer puts it

Documentation

AsyncElegantOTA is a dead simple library which does your work in just 1 Line. Honestly, It's just a wrapper library which injects it's own elegant webpage instead of the ugly upload page which comes by default in Arduino Library

maybe I have a basic misunderstanding

maybe my assumption is wrong

Is there a possability to upload the code from inside the Arduino-IDE
by choosing the "COM-Port"

OTA (IP-Adress) or something similar?

And this is what I described as Arduino-IDE-OTA
best regards Stefan

I've used ElegentOTA for years, and never had one single problem. It has worked every, single time, and that is probably hundreds of updates at this point.

Did you do OTA with ESP32 or ESP8266?

Today I did some OTA-updates or tried some OTA-updates with ESP8266 with pretty big code that used around 600 kB.

The behaviour I encountered was the OTA-process started I can see the progressbar progressing and then it stops at around 80% and additionally ESP-NOW stopped working with this big sketch that used
ESP-NOW
elegant-OTA
ESP-DASH-pro
ESP-webserial-pro
all at the same time.

The ESP8266-board has a 4 MB flash (ESP8266 D1 mini)
Upload-log says
Auto-detected Flash size: 4MB

So my assumption is a 600 kB-code should still fit into flash-memory

The code without OTA etc. has 290 kB and with this code ESP-NOW works fine.

I'm thinking about porting the code to an ESP32 and replace the ESP8266 D1 Mini with a ESP32 nodeMCU with an adapter-board

best regards Stefan

I didn't know it worked any other way !

Take a look at ESP8266 OTA with Arduino IDE | Random Nerd Tutorials

That’s not how it is designed to work. The doc states

copy the IPAddress displayed over your Serial Monitor and go to http://<IPAddress>/update in browser. ( where <IPAddress> is the IP of your ESP Module)

image

See ESP8266 OTA (Over-the-Air) Updates - AsyncElegantOTA Arduino | Random Nerd Tutorials

@J-M-L the Random-Nerd-Tutorial shows it this way
and this is why I called it Arduino-IDE-internal
image

which is completely different from using a browser and choose file dialog

???

the link I shared does not show that (or do I need my glasses again :slight_smile: ?)

No, but the link I shared shows a method that does

UKHelibob posted this link
I inserted point to keep the link as text
https.....://...randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air/

This is the J-M-L-link
https...://...randomnerdtutorials.com/esp8266-nodemcu-ota-over-the-air-arduino/
so the difference is

esp8266-ota-updates-with-arduino-ide-over-the-air/
esp8266-nodemcu-ota-over-the-air-arduino/

@UKHeliBob
The screenshot uses Arduino Ide 1.6.13

are you using it with IDE version 1.8.19?

ah got it - yes this is the Arduino way through the IDE

I don't use it regularly, but the last time that I used it was with 1.8.19

How did you manage to make this
extra-port
image
visible in the arduino-IDE??

I never got this option

Did you follow all the steps in the example linked article including uploading the BasicOTA.ino sketch ?

I compiled/uploaded the code from the RNT-webiste

#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>

// Replace with your network credentials
const char *ssid     = "x";
const char *password = "x";


void setup() {
  Serial.begin(115200);
  Serial.println("Booting");
  WiFi.mode(WIFI_STA);
  WiFi.begin(ssid, password);
  while (WiFi.waitForConnectResult() != WL_CONNECTED) {
    Serial.println("Connection Failed! Rebooting...");
    delay(5000);
    ESP.restart();
  }

  // Port defaults to 8266
  // ArduinoOTA.setPort(8266);

  // Hostname defaults to esp8266-[ChipID]
  // ArduinoOTA.setHostname("myesp8266");

  // No authentication by default
  // ArduinoOTA.setPassword((const char *)"123");

  ArduinoOTA.onStart([]() {
    Serial.println("Start");
  });
  ArduinoOTA.onEnd([]() {
    Serial.println("\nEnd");
  });
  ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) {
    Serial.printf("Progress: %u%%\r", (progress / (total / 100)));
  });
  ArduinoOTA.onError([](ota_error_t error) {
    Serial.printf("Error[%u]: ", error);
    if (error == OTA_AUTH_ERROR) Serial.println("Auth Failed");
    else if (error == OTA_BEGIN_ERROR) Serial.println("Begin Failed");
    else if (error == OTA_CONNECT_ERROR) Serial.println("Connect Failed");
    else if (error == OTA_RECEIVE_ERROR) Serial.println("Receive Failed");
    else if (error == OTA_END_ERROR) Serial.println("End Failed");
  });
  ArduinoOTA.begin();
  Serial.println("Ready");
  Serial.print("IP address: ");
  Serial.println(WiFi.localIP());
}

void loop() {
  ArduinoOTA.handle();
}

This is the compile-log

E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\arduino-builder -dump-prefs -logger=machine -hardware E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\hardware -hardware C:\Users\dipl-\AppData\Local\Arduino15\packages -tools E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\tools-builder -tools E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\hardware\tools\avr -tools C:\Users\dipl-\AppData\Local\Arduino15\packages -built-in-libraries E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\libraries -libraries F:\myData\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=4M1M,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 -vid-pid=1A86_7523 -ide-version=10819 -build-path C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998 -warnings=default -build-cache C:\Users\dipl-\AppData\Local\Temp\arduino_cache_40494 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec -prefs=runtime.tools.xtensa-lx106-elf-gcc-3.1.0-gcc10.3-e5f9fec.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec -prefs=runtime.tools.python3.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.mkspiffs.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\3.1.0-gcc10.3-e5f9fec -prefs=runtime.tools.mkspiffs-3.1.0-gcc10.3-e5f9fec.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\3.1.0-gcc10.3-e5f9fec -prefs=runtime.tools.mklittlefs.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\3.1.0-gcc10.3-e5f9fec -prefs=runtime.tools.mklittlefs-3.1.0-gcc10.3-e5f9fec.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\3.1.0-gcc10.3-e5f9fec -verbose F:\myData\Arduino\ESP8266-ArduinoOTA-001\ESP8266-ArduinoOTA-001.ino
E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\arduino-builder -compile -logger=machine -hardware E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\hardware -hardware C:\Users\dipl-\AppData\Local\Arduino15\packages -tools E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\tools-builder -tools E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\hardware\tools\avr -tools C:\Users\dipl-\AppData\Local\Arduino15\packages -built-in-libraries E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\libraries -libraries F:\myData\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=4M1M,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 -vid-pid=1A86_7523 -ide-version=10819 -build-path C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998 -warnings=default -build-cache C:\Users\dipl-\AppData\Local\Temp\arduino_cache_40494 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec -prefs=runtime.tools.xtensa-lx106-elf-gcc-3.1.0-gcc10.3-e5f9fec.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec -prefs=runtime.tools.python3.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.mkspiffs.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\3.1.0-gcc10.3-e5f9fec -prefs=runtime.tools.mkspiffs-3.1.0-gcc10.3-e5f9fec.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\3.1.0-gcc10.3-e5f9fec -prefs=runtime.tools.mklittlefs.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\3.1.0-gcc10.3-e5f9fec -prefs=runtime.tools.mklittlefs-3.1.0-gcc10.3-e5f9fec.path=C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\3.1.0-gcc10.3-e5f9fec -verbose F:\myData\Arduino\ESP8266-ArduinoOTA-001\ESP8266-ArduinoOTA-001.ino
Using board 'generic' from platform in folder: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1
Using core 'esp8266' from platform in folder: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/mkbuildoptglobals.py" "E:\\Arduino-funktioniert\\arduino-1.8.19-windows-2022-01-30\\arduino-1.8.19" 10819 "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core/build.opt" "F:\\myData\\Arduino\\ESP8266-ArduinoOTA-001/ESP8266-ArduinoOTA-001.ino.globals.h" "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\cores\\esp8266/CommonHFile.h"
Using preferences from 'C:\Users\dipl-\AppData\local\Arduino15\preferences.txt'
  preferences.txt: compiler.cache_core=true
Note: optional global include file 'F:\myData\Arduino\ESP8266-ArduinoOTA-001\ESP8266-ArduinoOTA-001.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\\dipl-\\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\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core/build.opt" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/lwip2/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core" -c "@C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/warnings/none-g++" -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" "-DARDUINO_BOARD_ID=\"generic\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\cores\\esp8266" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\variants\\generic" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\sketch\\ESP8266-ArduinoOTA-001.ino.cpp" -o nul
Alternatives for ESP8266WiFi.h: [ESP8266WiFi@1.0]
ResolveLibrary(ESP8266WiFi.h)
  -> candidates: [ESP8266WiFi@1.0]
"C:\\Users\\dipl-\\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\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core/build.opt" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/lwip2/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core" -c "@C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/warnings/none-g++" -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" "-DARDUINO_BOARD_ID=\"generic\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\cores\\esp8266" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\variants\\generic" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\libraries\\ESP8266WiFi\\src" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\sketch\\ESP8266-ArduinoOTA-001.ino.cpp" -o nul
Alternatives for ESP8266mDNS.h: [ESP8266mDNS@1.2]
ResolveLibrary(ESP8266mDNS.h)
  -> candidates: [ESP8266mDNS@1.2]
"C:\\Users\\dipl-\\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\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core/build.opt" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/lwip2/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core" -c "@C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/warnings/none-g++" -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" "-DARDUINO_BOARD_ID=\"generic\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\cores\\esp8266" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\variants\\generic" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\libraries\\ESP8266mDNS\\src" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\sketch\\ESP8266-ArduinoOTA-001.ino.cpp" -o nul
Alternatives for ArduinoOTA.h: [ArduinoOTA@1.0.7 ArduinoOTA@1.0 ArduinoOTA@1.0.9]
ResolveLibrary(ArduinoOTA.h)
  -> candidates: [ArduinoOTA@1.0.7 ArduinoOTA@1.0 ArduinoOTA@1.0.9]
"C:\\Users\\dipl-\\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\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core/build.opt" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/lwip2/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core" -c "@C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/warnings/none-g++" -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" "-DARDUINO_BOARD_ID=\"generic\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\cores\\esp8266" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\variants\\generic" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\libraries\\ESP8266mDNS\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\libraries\\ArduinoOTA" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\sketch\\ESP8266-ArduinoOTA-001.ino.cpp" -o nul
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\BearSSLHelpers.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\CertStoreBearSSL.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\ESP8266WiFi.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\ESP8266WiFiAP.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\ESP8266WiFiGeneric.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\ESP8266WiFiGratuitous.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\ESP8266WiFiMulti.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\ESP8266WiFiSTA-WPS.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\ESP8266WiFiSTA.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\ESP8266WiFiScan.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\WiFiClient.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\WiFiClientSecureBearSSL.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\WiFiServer.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\WiFiServerSecureBearSSL.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\WiFiUdp.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi\src\enable_wifi_at_boot_time.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266mDNS\src\ESP8266mDNS.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266mDNS\src\LEAmDNS.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266mDNS\src\LEAmDNS_Control.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266mDNS\src\LEAmDNS_Helpers.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266mDNS\src\LEAmDNS_Structs.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266mDNS\src\LEAmDNS_Transfer.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ArduinoOTA\ArduinoOTA.cpp
Generating function prototypes...
"C:\\Users\\dipl-\\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\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core/build.opt" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/lwip2/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core" -c "@C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/warnings/none-g++" -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" "-DARDUINO_BOARD_ID=\"generic\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\cores\\esp8266" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\variants\\generic" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\libraries\\ESP8266mDNS\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\libraries\\ArduinoOTA" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\sketch\\ESP8266-ArduinoOTA-001.ino.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"E:\\Arduino-funktioniert\\arduino-1.8.19-windows-2022-01-30\\arduino-1.8.19\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Sketch wird kompiliert...
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/signing.py" --mode header --publickey "F:\\myData\\Arduino\\ESP8266-ArduinoOTA-001/public.key" --out "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core/Updater_Signing.h"
"C:\\Users\\dipl-\\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\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core/build.opt" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/lwip2/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/core" -c "@C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/warnings/default-g++" -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=10819 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" "-DARDUINO_BOARD_ID=\"generic\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\cores\\esp8266" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\variants\\generic" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\libraries\\ESP8266mDNS\\src" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1\\libraries\\ArduinoOTA" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\sketch\\ESP8266-ArduinoOTA-001.ino.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\sketch\\ESP8266-ArduinoOTA-001.ino.cpp.o"
Compiling libraries...
Compiling library "ESP8266WiFi"
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\BearSSLHelpers.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\CertStoreBearSSL.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\ESP8266WiFi.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\ESP8266WiFiAP.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\ESP8266WiFiGratuitous.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\ESP8266WiFiMulti.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\ESP8266WiFiGeneric.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\ESP8266WiFiSTA-WPS.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\WiFiClientSecureBearSSL.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\ESP8266WiFiSTA.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\WiFiClient.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\ESP8266WiFiScan.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\enable_wifi_at_boot_time.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\WiFiServer.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\WiFiUdp.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\WiFiServerSecureBearSSL.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266WiFi\ESP8266WiFi.a
Compiling library "ESP8266mDNS"
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266mDNS\LEAmDNS_Helpers.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266mDNS\LEAmDNS.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266mDNS\LEAmDNS_Control.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266mDNS\ESP8266mDNS.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266mDNS\LEAmDNS_Structs.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266mDNS\LEAmDNS_Transfer.cpp.o
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ESP8266mDNS\ESP8266mDNS.a
Compiling library "ArduinoOTA"
Zuvor kompilierte Datei wird verwendet: C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998\libraries\ArduinoOTA\ArduinoOTA.cpp.o
Compiling core...
Using precompiled core: C:\Users\dipl-\AppData\Local\Temp\arduino_cache_40494\core\core_da7bc2782c3a18e5991e39f60d3d34a2.a
Linking everything together...
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/mkdir.py" -p "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/ld_h/"
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/cp.py" "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/ld/eagle.flash.4m1m.ld" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/ld_h/local.eagle.flash.ld.h"
"C:\\Users\\dipl-\\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\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/ld_h/local.eagle.flash.ld.h" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/local.eagle.flash.ld"
"C:\\Users\\dipl-\\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\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/ld/eagle.app.v6.common.ld.h" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/local.eagle.app.v6.common.ld"
"C:\\Users\\dipl-\\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\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/ESP8266-ArduinoOTA-001.ino.map" -g "@C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/warnings/default-gcc" -Os -nostdlib -Wl,--no-check-sections -u app_entry -u _printf_float -u _scanf_float -Wl,-static "-LC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/lib" "-LC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sdk/lib/NONOSDK22x_190703" "-LC:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998" "-LC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/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\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/ESP8266-ArduinoOTA-001.ino.elf" -Wl,--start-group "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\sketch\\ESP8266-ArduinoOTA-001.ino.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\libraries\\ESP8266WiFi\\ESP8266WiFi.a" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\libraries\\ESP8266mDNS\\ESP8266mDNS.a" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998\\libraries\\ArduinoOTA\\ArduinoOTA.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_cache_40494\\core\\core_da7bc2782c3a18e5991e39f60d3d34a2.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\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998"
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/elf2bin.py" --eboot "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/bootloaders/eboot/eboot.elf" --app "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/ESP8266-ArduinoOTA-001.ino.elf" --flash_mode dout --flash_freq 40 --flash_size 4M --path "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin" --out "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/ESP8266-ArduinoOTA-001.ino.bin"
Creating BIN file "C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998/ESP8266-ArduinoOTA-001.ino.bin" using "C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1/bootloaders/eboot/eboot.elf" and "C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998/ESP8266-ArduinoOTA-001.ino.elf"
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/signing.py" --mode sign --privatekey "F:\\myData\\Arduino\\ESP8266-ArduinoOTA-001/private.key" --bin "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/ESP8266-ArduinoOTA-001.ino.bin" --out "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/ESP8266-ArduinoOTA-001.ino.bin.signed" --legacy "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/ESP8266-ArduinoOTA-001.ino.bin.legacy_sig"
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -X utf8 -I "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.1/tools/sizes.py" --elf "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_165998/ESP8266-ArduinoOTA-001.ino.elf" --path "C:\\Users\\dipl-\\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 28976 / 80192 bytes (36%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ DATA     1504     initialized variables
╠══ RODATA   1336     constants       
╚══ BSS      26136    zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 60824 / 65536 bytes (92%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ ICACHE   32768    reserved space for flash instruction cache
╚══ IRAM     28056    code in IRAM    
. Code in flash (default, ICACHE_FLASH_ATTR), used 284804 / 1048576 bytes (27%)
║   SEGMENT  BYTES    DESCRIPTION
╚══ IROM     284804   code in flash   
Mehrere Bibliotheken wurden für "ArduinoOTA.h" gefunden
 Benutzt: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ArduinoOTA
 Nicht benutzt: E:\Arduino-funktioniert\arduino-1.8.19-windows-2022-01-30\arduino-1.8.19\libraries\ArduinoOTA
 Nicht benutzt: F:\myData\Arduino\libraries\ArduinoOTA
Bibliothek ESP8266WiFi in Version 1.0 im Ordner: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi  wird verwendet
Bibliothek ESP8266mDNS in Version 1.2 im Ordner: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266mDNS  wird verwendet
Bibliothek ArduinoOTA in Version 1.0 im Ordner: C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ArduinoOTA  wird verwendet
C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1/python3 -I C:\Users\dipl-\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1/tools/upload.py --chip esp8266 --port COM11 --baud 921600 --before default_reset --after hard_reset write_flash 0x0 C:\Users\dipl-\AppData\Local\Temp\arduino_build_165998/ESP8266-ArduinoOTA-001.ino.bin 
esptool.py v3.0
Serial port COM11
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 2c:3a:e8:22:21:f8
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 319856 bytes to 231711...
Writing at 0x00000000... (6 %)
Writing at 0x00004000... (13 %)
Writing at 0x00008000... (20 %)
Writing at 0x0000c000... (26 %)
Writing at 0x00010000... (33 %)
Writing at 0x00014000... (40 %)
Writing at 0x00018000... (46 %)
Writing at 0x0001c000... (53 %)
Writing at 0x00020000... (60 %)
Writing at 0x00024000... (66 %)
Writing at 0x00028000... (73 %)
Writing at 0x0002c000... (80 %)
Writing at 0x00030000... (86 %)
Writing at 0x00034000... (93 %)
Writing at 0x00038000... (100 %)
Wrote 319856 bytes (231711 compressed) at 0x00000000 in 5.3 seconds (effective 479.7 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

This is what I see in the serial monitor

20:11:17.163 -> Ready
20:11:17.163 -> IP address: 192.168.178.49

ping gets an answer

Microsoft Windows [Version 10.0.19045.2728]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\dipl->ping 192.168.178.49

Ping wird ausgeführt für 192.168.178.49 mit 32 Bytes Daten:
Antwort von 192.168.178.49: Bytes=32 Zeit=103ms TTL=255
Antwort von 192.168.178.49: Bytes=32 Zeit=7ms TTL=255
Antwort von 192.168.178.49: Bytes=32 Zeit=6ms TTL=255
Antwort von 192.168.178.49: Bytes=32 Zeit=7ms TTL=255

Ping-Statistik für 192.168.178.49:
    Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0
    (0% Verlust),
Ca. Zeitangaben in Millisek.:
    Minimum = 6ms, Maximum = 103ms, Mittelwert = 30ms

C:\Users\dipl->

But the esp-port does not appear

I'm using a portable installation of the Arduino-IDE 1.8.19
could it be that this is the reason?

Is it possible that my Internetsecurity suite is blocking the communication?

Is there somewhere a configuration file that should show an additional entry I could check?

Did you follow ALL of the steps in the tutorial, including this one ?

  1. Open the Arduino IDE serial monitor at a baud rate of 115200. If you’ve entered the right network credentials you should see your ESP IP address after a few seconds

Installing the OTA functionality worked for me just now

My ports before uploading BasicOTA.ino

image

My ports after uploading BasicOTA.ino and following step 5

This is the screenshot from the RN-Tutorial


and this is what I see in my serial monitor

I even did pinging the IP-Adress of the ESP8266
And the ESP8266 answers on the pings
image

But nothing appears under ports

I disconnected the ESP8266 from my computer
and connected it new to a 5V powersupply
I still get answers to the pings
but the esp-ip-port does not appear

Do you know what the ArduinoOTA is doing in the background?
The basic OTA-code includes WiFiUDP

#include <WiFiUdp.h>

does it broadcast udp-messages to inform the IDE that there is a OTA-capable device?

I am sorry but I have no idea what is going on behind the scenes. All I know is that it works for me

I don't suppose that it makes any difference but which ESP8266 board are you using and which version of the board files ?

I am using a Wemos D1 Mini and 8266 board files version 3.1.1

After some research I found this

It says
Some of the supported networking libraries don't have the UDP.beginMulticast function and can't start a MDNS service to propagate the network port for Arduino IDE. And sometimes the MDNS port is not detected for the good libraries too. Arduino IDE doesn't yet allow to enter the IP address.

The workaround is to configure a fake programmer for Arduino OTA. You can use my_boards as starting point. For Arduino Mega it is the best option for all ArduinoOTA aspects, for other boards it gives you control about your custom settings. In your copy of my_boards in programmers.txt, configure the IP address and restart the IDE. Note: the esp boards packages can't be used as referenced packages in my_boards style.

If you don't want to use my_boards, the platform.local.txt files for avr and samd in extras folder in this library contain the configuration for arduinoOTA tool as programmer. Copy platform.local.txt next to platform.txt in the hardware package of your board. The programmers.txt file can't have a 'local' extension so you have to add your OTA 'programmer' configuration into the existing programmers.txt file. Then restart the IDE.

Example OTA 'programmer' configuration in programmers.txt:

arduinoOTA104.name=Arduino OTA (192.168.1.104)
arduinoOTA104.program.tool=arduinoOTA
arduinoOTA104.program.default=arduinoOTA
arduinoOTA104.ip=192.168.1.104

I tried to configure that. But it did not work.
But do you know what?
This is toooooo complicated due to bad documentation

I simply abandon this.

Used the same
Wemos ESP8622 D1 Mini with core 3.1.1

Thank you for testing it.
best regards Stefan