I use a WT32-ETH01 board and I use the Arduino IDE (Version 2.0.0-rc5) on Mac OS.
After that, I installed the board "ESP32 by Espressif Systems (Version 2.0.2)" with the Boards Manager and installed libraries (such as WebServer_WT32_ETH01 or Websockets_Generic).
After all the installation work, I tried to compile some Example sketches.
However, no matter which WT32-ETH01 library Example sketch I try to compile and run, I get the following error message:
../Library/Arduino15/packages/esp32/hardware/esp32/2.0.2/cores/esp32/Arduino.h:201:10: fatal error: pins_arduino.h: No such file or directory #include "pins_arduino.h"
^~~~~~~~~~~~~~~~
compilation terminated.
Why does this board not work with the newest Arduino IDE 2.0 ?
And I also tried using the old Arduino IDE 1.18.19 - but same error message.
What is wrong with the ESP32 Boards Manager installation ? Why is the WT32-ETH01 board not working with the standard library Examples (such as, for example, WebServer_WT32_ETH01 or Websockets_Generic) ?
Or what steps am I missing with this board installation ?
This is a bug of the latest ESP32 core, for WT32_ETH01. You have to select Board = ESP32_DEV to compile and run normally. It'll be helpful if you can file an issue to the ESP32 core.
Thanks for using my WebServer_WT32_ETH01 and Websockets_Generic libraries.
I recognized the same issue in the past. Just testing again and it's OK now. Possibly you have to reinstall the ESP32 core v2.0.2 with some recent updates.
I re-installed ESP32 core v2.0.2 and also the two libraries WebServer_WT32_ETH01 and Websockets_Generic - but without any success. Still the same error.
However, I saw that you are using Arduino IDE 1.8.16. I am using 1.8.19 - but I don't think this causes the issue, or does it ?
Which "additional Boards Manager URLs have you defined" under Preferences ??
(I have the following three ones defined under Preferences :
hm ok - it might be a Mac M1 thing. Because I have done not more than installed everything with the Arduino IDE just a minute ago. I don't see what I could have messed up with my installation.
Except that I have quite many libraries installed on the Arduino IDE (which might bite each other for some unknown reason). I will try to clean up some to see if this helps.
Yes, I did restart after putting the .json for esp32-s3. And that is when the problems started: i.e. I was no longer able to install the ESP32 board with the Boards Manager. The following screenshot shows the error "no protocol" (see below).
How can I manually install the custom esp32-s3 board with the Arduino IDE ??