Cannot get example AsyncSimpleServer_WT32_ETH01 to work
Posted: Thu Dec 05, 2024 11:17 pm
Dear forum
Running Arduino IDE 1.8.19
Fedora40 workstation.
I bought a WT32 eth01 module. So I installed the AsyncWebServer_WT32_ETH01 library via lib manager in arduino IDE.
Prior to this I have had other ESP32 projects compiled and running.
I opened the AsyncSimpleServer_WT32_ETH01.ino example -out of the box-
Changed the board to WT32-ETH01 module and hit 'compile'. (no hardware attached)
Now I am getting a lot of:
the list goes on with other cpp's in the same directory.
I read that this is common and can be ignored (although it bugs me
)
But then finally: (This is the last chunk of all messages)
I changed the board to ESP32-dev Module. --> to no avail
I deleted the library and installed again --> no change
I deleted the board reference:
(http://) arduino.esp8266.com/stable/package_esp8266com_index.json,(https://) raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
(last bit about the esp32) and re-installed that. --> no change
Tried the package_esp32_index.json instead of package_esp32_dev_index.json --> no change.
Now I am at a loss. I do not know what else I can do.....
What could be wrong?
Thanks
Running Arduino IDE 1.8.19
Fedora40 workstation.
I bought a WT32 eth01 module. So I installed the AsyncWebServer_WT32_ETH01 library via lib manager in arduino IDE.
Prior to this I have had other ESP32 projects compiled and running.
I opened the AsyncSimpleServer_WT32_ETH01.ino example -out of the box-
Changed the board to WT32-ETH01 module and hit 'compile'. (no hardware attached)
Now I am getting a lot of:
Code: Select all
Error while detecting libraries included by /home/arjen/Arduino/libraries/AsyncWebServer_WT32_ETH01/src/AsyncEventSource.cpp
Error while detecting libraries included by /home/arjen/Arduino/libraries/AsyncWebServer_WT32_ETH01/src/AsyncWebServer_WT32_ETH01.cpp
Error while detecting libra......I read that this is common and can be ignored (although it bugs me
But then finally: (This is the last chunk of all messages)
Code: Select all
Generating function prototypes...
/home/arjen/.arduino15/packages/esp32/tools/esp-x32/2405/bin/xtensa-esp32-elf-g++ -c @/home/arjen/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.3-a0f798cf/esp32/flags/cpp_flags -w -Os -Werror=return-type -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10819 -DARDUINO_WT32_ETH01 -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"WT32_ETH01\"" "-DARDUINO_VARIANT=\"wt32-eth01\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"linux\"" "-DARDUINO_FQBN=\"esp32:esp32:wt32-eth01:PartitionScheme=default,FlashMode=qio,FlashFreq=80,UploadSpeed=921600,DebugLevel=none,EraseFlash=none\"" -DESP32=ESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_CDC_ON_BOOT=0 @/home/arjen/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.3-a0f798cf/esp32/flags/defines -I/media/data/applications/Arduino/esp32/my_AsyncSimpleServer_WT32_ETH01 -iprefix /home/arjen/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.3-a0f798cf/esp32/include/ @/home/arjen/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.3-a0f798cf/esp32/flags/includes -I/home/arjen/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.3-a0f798cf/esp32/qio_qspi/include -I/home/arjen/.arduino15/packages/esp32/hardware/esp32/3.1.0-RC3/cores/esp32 -I/home/arjen/.arduino15/packages/esp32/hardware/esp32/3.1.0-RC3/variants/wt32-eth01 -I/home/arjen/Arduino/libraries/AsyncTCP/src -I/home/arjen/Arduino/libraries/AsyncWebServer_WT32_ETH01/src -I/home/arjen/.arduino15/packages/esp32/hardware/esp32/3.1.0-RC3/libraries/FS/src -I/home/arjen/.arduino15/packages/esp32/hardware/esp32/3.1.0-RC3/libraries/Ethernet/src -I/home/arjen/.arduino15/packages/esp32/hardware/esp32/3.1.0-RC3/libraries/Network/src -I/home/arjen/.arduino15/packages/esp32/hardware/esp32/3.1.0-RC3/libraries/SPI/src -I/home/arjen/.arduino15/packages/esp32/hardware/esp32/3.1.0-RC3/libraries/WiFi/src @/tmp/arduino_build_109871/build_opt.h @/tmp/arduino_build_109871/file_opts /tmp/arduino_build_109871/sketch/my_AsyncSimpleServer_WT32_ETH01.ino.cpp -o /tmp/arduino_build_109871/preproc/ctags_target_for_gcc_minus_e.cpp
In file included from /media/data/applications/Arduino/esp32/my_AsyncSimpleServer_WT32_ETH01/my_AsyncSimpleServer_WT32_ETH01.ino:45:
/home/arjen/Arduino/libraries/AsyncWebServer_WT32_ETH01/src/AsyncWebServer_WT32_ETH01.h:54:4: error: #error This code is designed for WT32_ETH01 to run on ESP32 platform! Please check your Tools->Board setting.
54 | #error This code is designed for WT32_ETH01 to run on ESP32 platform! Please check your Tools->Board setting.
| ^~~~~
Using library AsyncTCP at version 1.1.4 in folder: /home/arjen/Arduino/libraries/AsyncTCP
Using library AsyncWebServer_WT32_ETH01 at version 1.6.2 in folder: /home/arjen/Arduino/libraries/AsyncWebServer_WT32_ETH01
Using library FS at version 3.1.0 in folder: /home/arjen/.arduino15/packages/esp32/hardware/esp32/3.1.0-RC3/libraries/FS
Using library Ethernet at version 3.1.0 in folder: /home/arjen/.arduino15/packages/esp32/hardware/esp32/3.1.0-RC3/libraries/Ethernet
Using library Network at version 3.1.0 in folder: /home/arjen/.arduino15/packages/esp32/hardware/esp32/3.1.0-RC3/libraries/Network
Using library SPI at version 3.1.0 in folder: /home/arjen/.arduino15/packages/esp32/hardware/esp32/3.1.0-RC3/libraries/SPI
Using library WiFi at version 3.1.0 in folder: /home/arjen/.arduino15/packages/esp32/hardware/esp32/3.1.0-RC3/libraries/WiFi
exit status 1
Error compiling for board WT32-ETH01 Ethernet Module.I changed the board to ESP32-dev Module. --> to no avail
I deleted the library and installed again --> no change
I deleted the board reference:
(http://) arduino.esp8266.com/stable/package_esp8266com_index.json,(https://) raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
(last bit about the esp32) and re-installed that. --> no change
Tried the package_esp32_index.json instead of package_esp32_dev_index.json --> no change.
Now I am at a loss. I do not know what else I can do.....
What could be wrong?
Thanks