ESP32 2.0.2
Beim ersten Versuch einen ESP32 in der Arduino IDE zu programmieren, hätte ich die ESP32-Boards-Version 2.0.2 versucht:
URL: https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html
Mit dieser Version war es mir nicht möglich den WiFiClientBasic-Beispiel-Sketch zu kompilieren:
collect2.exe: error: ld returned 1 exit status error compiling for board esp32 Dev module
Error compoing for board ESP32 Dev Module.
arduino_modified_sketch_501103/WiFiClient.ino:47: undefined reference to `delay'
Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None"
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\WiFiClient.ino.cpp.o:(.literal._Z5setupv+0x30): undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\WiFiClient.ino.cpp.o:(.literal._Z4loopv+0x4c): undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\WiFiClient.ino.cpp.o: in function `setup()':
C:\Users\Bernhard\AppData\Local\Temp\arduino_modified_sketch_501103/WiFiClient.ino:20: undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_modified_sketch_501103/WiFiClient.ino:30: undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\WiFiClient.ino.cpp.o: in function `loop()':
C:\Users\Bernhard\AppData\Local\Temp\arduino_modified_sketch_501103/WiFiClient.ino:47: undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_modified_sketch_501103/WiFiClient.ino:76: undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_modified_sketch_501103/WiFiClient.ino:78: undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\WiFi\WiFiGeneric.cpp.o:(.literal._Z9tcpipInitv+0x1c): undefined reference to `xTaskCreateUniversal'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\WiFi\WiFiGeneric.cpp.o: in function `tcpipInit()':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\libraries\WiFi\src/WiFiGeneric.cpp:512: undefined reference to `xTaskCreateUniversal'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(esp32-hal-uart.c.o):(.literal._get_effective_baudrate+0x8): undefined reference to `getApbFrequency'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(esp32-hal-uart.c.o): in function `_get_effective_baudrate':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-uart.c:76: undefined reference to `getApbFrequency'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(esp32-hal-uart.c.o): in function `uartDetectBaudrate':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-uart.c:572: undefined reference to `getApbFrequency'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(HardwareSerial.cpp.o):(.literal._ZN14HardwareSerial5beginEmjaabmh+0x4): undefined reference to `yield'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(HardwareSerial.cpp.o): in function `HardwareSerial::end(bool)':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/HardwareSerial.cpp:170: undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(HardwareSerial.cpp.o): in function `HardwareSerial::begin(unsigned long, unsigned int, signed char, signed char, bool, unsigned long, unsigned char)':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/HardwareSerial.cpp:143: undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/HardwareSerial.cpp:144: undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/HardwareSerial.cpp:146: undefined reference to `yield'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/HardwareSerial.cpp:150: undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(main.cpp.o):(.literal.app_main+0xc): undefined reference to `initArduino'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(main.cpp.o): in function `app_main':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/main.cpp:70: undefined reference to `initArduino'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/main.cpp:71: undefined reference to `xTaskCreateUniversal'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(Stream.cpp.o): in function `Stream::timedRead()':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/Stream.cpp:34: undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/Stream.cpp:40: undefined reference to `millis'
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "WiFi.h"
Used: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\libraries\WiFi
Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries\WiFi
exit status 1
Error compiling for board ESP32 Dev Module.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Example WiFiClientBasic
Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None"
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\WiFi\WiFiGeneric.cpp.o:(.literal._Z9tcpipInitv+0x1c): undefined reference to `xTaskCreateUniversal'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\WiFi\WiFiGeneric.cpp.o: in function `tcpipInit()':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\libraries\WiFi\src/WiFiGeneric.cpp:512: undefined reference to `xTaskCreateUniversal'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\WiFi\WiFiScan.cpp.o: in function `WiFiScanClass::scanNetworks(bool, bool, bool, unsigned int, unsigned char)':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\libraries\WiFi\src/WiFiScan.cpp:106: undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(esp32-hal-uart.c.o):(.literal._get_effective_baudrate+0x8): undefined reference to `getApbFrequency'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(esp32-hal-uart.c.o): in function `_get_effective_baudrate':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-uart.c:76: undefined reference to `getApbFrequency'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(esp32-hal-uart.c.o): in function `uartDetectBaudrate':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/esp32-hal-uart.c:572: undefined reference to `getApbFrequency'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\WiFiClientBasic.ino.cpp.o:(.literal._Z5setupv+0x38): undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\WiFiClientBasic.ino.cpp.o: in function `setup()':
C:\Users\Bernhard\AppData\Local\Temp\arduino_modified_sketch_619631/WiFiClientBasic.ino:13: undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_modified_sketch_619631/WiFiClientBasic.ino:23: undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_modified_sketch_619631/WiFiClientBasic.ino:29: undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\WiFiClientBasic.ino.cpp.o: in function `loop()':
C:\Users\Bernhard\AppData\Local\Temp\arduino_modified_sketch_619631/WiFiClientBasic.ino:53: undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\WiFiClientBasic.ino.cpp.o:C:\Users\Bernhard\AppData\Local\Temp\arduino_modified_sketch_619631/WiFiClientBasic.ino:69: more undefined references to `delay' follow
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(HardwareSerial.cpp.o):(.literal._ZN14HardwareSerial5beginEmjaabmh+0x4): undefined reference to `yield'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(HardwareSerial.cpp.o): in function `HardwareSerial::end(bool)':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/HardwareSerial.cpp:170: undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(HardwareSerial.cpp.o): in function `HardwareSerial::begin(unsigned long, unsigned int, signed char, signed char, bool, unsigned long, unsigned char)':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/HardwareSerial.cpp:143: undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/HardwareSerial.cpp:144: undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/HardwareSerial.cpp:146: undefined reference to `yield'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/HardwareSerial.cpp:150: undefined reference to `delay'
Multiple libraries were found for "WiFi.h"
Used: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\libraries\WiFi
Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries\WiFi
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(main.cpp.o):(.literal.app_main+0xc): undefined reference to `initArduino'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(main.cpp.o): in function `app_main':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/main.cpp:70: undefined reference to `initArduino'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/main.cpp:71: undefined reference to `xTaskCreateUniversal'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\WiFi\WiFiMulti.cpp.o:(.literal._ZN9WiFiMulti3runEj+0x8): undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\WiFi\WiFiMulti.cpp.o: in function `WiFiMulti::run(unsigned int)':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\libraries\WiFi\src/WiFiMulti.cpp:99: undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\libraries\WiFi\src/WiFiMulti.cpp:165: undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\libraries\WiFi\src/WiFiMulti.cpp:167: undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\libraries\WiFi\src/WiFiMulti.cpp:168: undefined reference to `delay'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\AppData\Local\Temp\arduino_cache_747157\core\core_46ac49372ba5999c27de57a530d2e1f4.a(Stream.cpp.o): in function `Stream::timedRead()':
C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/Stream.cpp:34: undefined reference to `millis'
c:/users/bernhard/documents/arduinodata/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\Bernhard\Documents\ArduinoData\packages\esp32\hardware\esp32\2.0.2\cores\esp32/Stream.cpp:40: undefined reference to `millis'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board ESP32 Dev Module.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
github.com/plerup/espsoftwareserial/issues/104
Test mit ESP32-C3
Compile erfolgreich, aber,
A fatal error occurred: This chip is ESP32 not ESP32-C3. Wrong --chip argument?
Version 1.0.6 funktioniert
Folgende URL "https://dl.espressif.com/dl/package_esp32_index.json" und Version 1.0.6 hat dann geklappt:
Wichtig: Ordner 2.0.2 löschen:
Sind mehrere Versionen eines Paketes installiert, müssen die Ordner eventuell aufgeräumt werden. Um die Version 1.0.6 zu verwenden musste ich den Ordner 2.0.2 löschen:
siehe auch: ESP32 programmieren, Arduino - Voraussetzungen installieren
{{percentage}} % positiv