Hi there and thank you in advance.
I have been trying to solve this issue that appeared suddenly. I have been working on a project which uses the library I said before. But in a new one, it suddenly stops work properly and when compiling the error message is
In file included from .pio/libdeps/meteojym3_usb/WebServer_ESP32_SC_ENC/src/enc28j60/esp32_sc_enc28j60.cpp:28:
.pio/libdeps/meteojym3_usb/WebServer_ESP32_SC_ENC/src/WebServer_ESP32_SC_ENC.hpp:73:4: error: #error This code is intended to run on the ESP32_S2/3, ESP32_C3 platform! Please check your Tools->Board setting.
#error This code is intended to run on the ESP32_S2/3, ESP32_C3 platform! Please check your Tools->Board setting.
^~~~~
Archiving .pio\build\meteojym3_usb\libb00\libWebServer_ESP32_W5500.a
Indexing .pio\build\meteojym3_usb\libb00\libWebServer_ESP32_W5500.a
Compiling .pio\build\meteojym3_usb\lib0ef\WebServer_ESP32_SC_W5500\w5500\esp32_sc_w5500.cpp.o
In file included from .pio/libdeps/meteojym3_usb/WebServer_ESP32_SC_W5500/src/w5500/esp32_sc_w5500.cpp:25:
.pio/libdeps/meteojym3_usb/WebServer_ESP32_SC_W5500/src/WebServer_ESP32_SC_W5500.hpp:76:3: error: #error This code is intended to run on the ESP32_S2/3, ESP32_C3 platform! Please check your Tools->Board setting.
#error This code is intended to run on the ESP32_S2/3, ESP32_C3 platform! Please check your Tools->Board setting.
^~~~~
Archiving .pio\build\meteojym3_usb\lib1e7\libWebServer_ESP32_W6100.a
Indexing .pio\build\meteojym3_usb\lib1e7\libWebServer_ESP32_W6100.a
Compiling .pio\build\meteojym3_usb\lib97e\WebServer_ESP32_SC_W6100\w6100\esp32_sc_w6100.cpp.o
Compiling .pio\build\meteojym3_usb\lib97e\WebServer_ESP32_SC_W6100\w6100\esp_eth\esp_eth_spi_w6100.c.o
In file included from .pio/libdeps/meteojym3_usb/WebServer_ESP32_SC_W6100/src/w6100/esp32_sc_w6100.cpp:21:
.pio/libdeps/meteojym3_usb/WebServer_ESP32_SC_W6100/src/WebServer_ESP32_SC_W6100.hpp:70:3: error: #error This code is intended to run on the ESP32_S2/3, ESP32_C3 platform! Please check your Tools->Board setting.
#error This code is intended to run on the ESP32_S2/3, ESP32_C3 platform! Please check your Tools->Board setting.
I have tested it with “madon/AsyncMQTT_ESP32@^1.10.0” and “madon/AsyncMQTT_ESP32@^1.10.1” and it did not work.
However, I have compiled it with GitHub - khoih-prog/AsyncMQTT_ESP32: Arduino Library for ESP32/S2/S3/C3 asynchronous MQTT client implementation. This library, ported to support ESP32/S2/S3/C3, WT32_ETH01 (ESP32 + LAN8720), ESP32 using LwIP ENC28J60, W5500, W6100 or LAN8720. Supporting TLS/SSL for MQTTS Client using Arduino IDE and it has worked!!! Buy not in Platformio either. Any help? Thanks