Wlan Datenübertragung an Server

Fortsetzung der Diskussion von Daten per WLAN verschicken und auf dem PC verarbeiten können:

Hallo, ich möchte gerne auch dieses Projekt umsetzen, aber beim compilieren kommt ein Fehler.

Arduino: 1.8.19 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\marti\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\marti\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\marti\OneDrive\Dokumente\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10819 -build-path C:\Users\marti\AppData\Local\Temp\arduino_build_202553 -warnings=default -build-cache C:\Users\marti\AppData\Local\Temp\arduino_cache_422066 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose C:\Users\marti\OneDrive\Dokumente\Arduino\WIFI-Daten_bertragung\WIFI-Daten_bertragung.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\marti\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\marti\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\marti\OneDrive\Dokumente\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10819 -build-path C:\Users\marti\AppData\Local\Temp\arduino_build_202553 -warnings=default -build-cache C:\Users\marti\AppData\Local\Temp\arduino_cache_422066 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose C:\Users\marti\OneDrive\Dokumente\Arduino\WIFI-Daten_bertragung\WIFI-Daten_bertragung.ino

Using board 'nano' from platform in folder: C:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6

Using core 'arduino' from platform in folder: C:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6

Detecting libraries used...

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "C:\Users\marti\AppData\Local\Temp\arduino_build_202553\sketch\WIFI-Daten_bertragung.ino.cpp" -o nul

Alternatives for WiFiNINA.h: [WiFiNINA@1.8.14]

ResolveLibrary(WiFiNINA.h)

-> candidates: [WiFiNINA@1.8.14]

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "C:\Users\marti\AppData\Local\Temp\arduino_build_202553\sketch\WIFI-Daten_bertragung.ino.cpp" -o nul

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src\WiFi.cpp" -o nul

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src\WiFiClient.cpp" -o nul

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src\WiFiSSLClient.cpp" -o nul

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src\WiFiServer.cpp" -o nul

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src\WiFiStorage.cpp" -o nul

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src\WiFiUdp.cpp" -o nul

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src\utility\WiFiSocketBuffer.cpp" -o nul

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src\utility\nano_rp2040_support.cpp" -o nul

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src\utility\server_drv.cpp" -o nul

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src\utility\spi_drv.cpp" -o nul

Alternatives for SPI.h: [SPI@1.0]

ResolveLibrary(SPI.h)

-> candidates: [SPI@1.0]

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src" "C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src\utility\spi_drv.cpp" -o nul

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src" "C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src\utility\wifi_drv.cpp" -o nul

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src" "C:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src\SPI.cpp" -o nul

Generating function prototypes...

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src" "C:\Users\marti\AppData\Local\Temp\arduino_build_202553\sketch\WIFI-Daten_bertragung.ino.cpp" -o "C:\Users\marti\AppData\Local\Temp\arduino_build_202553\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\marti\AppData\Local\Temp\arduino_build_202553\preproc\ctags_target_for_gcc_minus_e.cpp"

Sketch wird kompiliert...

"C:\Users\marti\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src" "-IC:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI\src" "C:\Users\marti\AppData\Local\Temp\arduino_build_202553\sketch\WIFI-Daten_bertragung.ino.cpp" -o "C:\Users\marti\AppData\Local\Temp\arduino_build_202553\sketch\WIFI-Daten_bertragung.ino.cpp.o"

In file included from C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src/WiFiStorage.h:23:0,

             from C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src/WiFi.h:38,

             from C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src/WiFiNINA.h:23,

             from C:\Users\marti\OneDrive\Dokumente\Arduino\WIFI-Daten_bertragung\WIFI-Daten_bertragung.ino:1:

C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA\src/utility/wifi_drv.h:293:12: error: 'PinStatus' does not name a type

 static PinStatus digitalRead(uint8_t pin);

        ^~~~~~~~~

Bibliothek WiFiNINA in Version 1.8.14 im Ordner: C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\WiFiNINA wird verwendet

Bibliothek SPI in Version 1.0 im Ordner: C:\Users\marti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI wird verwendet

exit status 1

Fehler beim Kompilieren für das Board Arduino Nano.

LG
Rainer

Du hast den falschen Controller in der IDE gewählt.
Ein einfacher Nano hat kein Wifi.

Hallo, korrekt, ich habe den ESP32 Nano.

Dann solltest du den auch in der IDE auswählen.

Hallo, ist erledigt.

Dann darfst du hier den Haken für gelöst setzen.

Hallo, kurze Frage habe ich noch, mein virtueller COM-Port ist im Gerätemanager einfach verschwunden, nur durch den Bootladermodus wird wider ein Port generiert.
Was sit da schiefgelaufen, kann ich den ESP32 Nano in der Ursprungszustand versetzen oder neu flashen, das Tool dazu habe ich bereits benötige nur die *.bin Dateien.
VG
Rainer

Flashen kannst du den nur, wenn dein Port erkannt wird.
Weitere Tipps sind schwierig, da ich das Board nicht kenne.

Hallo,

ich habe auch einen Nano ESP32. Ist auch Neuland für mich. Da ist laut meiner Meinung nichts kaputt. Nach einem Reset ist der Com-Port in der IDE wieder da. Abschnitt Arduino Bootloader Mode im Cheat-Shett
Ein ESP verhält sich nicht wie ein "normaler" Arduino. Das sollte man vielleicht wissen. Deswegen der Bootloader Mode per Reset.

Was dir vielleicht auch helfen könnte, weiß nicht in welchen Problem er feststeckt.
Reset-the-Arduino-bootloader

Was ich auch schon beobachtet habe ist, man kann zwar flashen, wenn der Com-Port nach Reset wieder da ist, aber das neue Programm startet nicht. Reset drücken hilft auch nicht. Dann hilft USB-Stecker ziehen und anstecken. Über das Verhalten fehlt mir ehrlich gesagt auch noch die Logik dahinter. Es kann nicht normal sein das man USB trennen muss.

Hallo, das mit dem Reset habe ich schon probiert, es kommt eine Fehlermeldung, was mich überrascht, das er den sketsch komiliert, die violette LED ist an, nach dem Entfernen von Jumper
B1/GND.
Habe das Problem aber lösen können und zwar 2 mal Reset gedrückt grüne LED blinkt langsam.
Der COM-Port war nun wider da, seltsam, Sketsch aufgespielt, Resettaster gedrückt und siehe da der ESP32 macht was er soll.
VG
Rainer

Zu solch merkwürdigen Controllern hätte ich def. kein Vertrauen.

Da sind wir uns einig. Die müssen erst mal lange auf den Markt sein, damit die Kinderkrankheiten weg sind. !!

Gruß

Pucki

Das ist nicht merkwürdig, sondern ein normales Verhalten bei inzwischen fast allen Arduinos ( mit nativem USB ). Duch das 2x drücken des Reset wird der Bootloader dauerhaft aktiviert. Dann kann man bequem in der IDE den upload starten und hat nicht das Problem, den RESET exakt zum richtigen Zeitpunkt drücken zu müssen, wenn der automatische Reset beim upload nicht (mehr) funktioniert.

2 Likes

Ok....ich kenne das Problem bei den von mir genutzten Controllern bisher nicht.
Daher für "mich" nicht normal.

Hallo,

das was ich dabei feststelle ist, man kann zwar jederzeit ohne Probleme flashen, aber man hat keine Möglichkeit durch erneutes Reset drücken o.ä. den ESP "normal zu reseten", sodass er dann sein eigentliches Programm startet. Er startet nicht nach dem Flashen das aufgespielte Programm. Er bleibt im Bootloadermode oder was auch immer das danach sein soll. Ich habs noch nicht durchschaut.
Der Nano ESP32 startet bei mir erst korrekt nach USB raus/rein. Also Stromlos machen. Wenn das einmal gemacht ist, dann startet er nach "nächster Spannung vorhanden" auch wieder das gewollte Programm. Drückt man wieder Reset wegen Bootloadermode zum flashen, beginnt der Spass von vorn. Das könnte auf Dauer nerven.
Entweder müßte es mit dem Resettaster drücken einen 3. Zustand geben den man toggeln kann der dann einen normalen Reset zum Programmstart auslöst. Oder er sollte sich nach flashen reseten. Warum sollte man nach dem Flashen im Bootloadermode verbleiben wollen?

Ich habe noch ein Display mit einem ESP drauf, da muss ich zum flashen 2 Taster in richtiger Reihenfolge drücken, dann steht im Terminal das er zum flashen bereit ist, ich flashe, drücke danach Reset und los gehts. Damit kann man Arbeiten.

Also zusammengefasst. Ich habe nichts gegen den Bootloadermode den man per Resettaster aktiviert. Ist okay. Aber nach dem flashen sollte er sich entweder selbst reseten oder erneutes Reset drücken sollte es auslösen. Dieses verharren im Bootloadermode nervt irgendwann.

Ansonsten müßte mir einmal bitte jemand erklären was man wie sonst mit dem Resettaster machen kann. Die Doku gibt für mich nichts anderes her.

Haben alle Arduinos ohne 8Bit Microchip Controller (ATmega) dieses Verhalten?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.