ARDUINO_EVENT_ETH_START not defined if using PlatformIO
khoih-prog opened this issue · 0 comments
khoih-prog commented
Opened by @SurfGargano as EthernetWebServe issue 24
In the file webServer_WT32_ETH01_Impl.h there are some cases like
case ARDUINO_EVENT_ETH_START:
When I start the compilation via PlatformIO some errors are displayed that ARDUINO_EVENT_ETH_START (and other) not defined.
Has I include some other files ?
PIO is using ESP32 core v1.0.6 now, the current library version is using ESP32 core v2.0.0+ by default.
You have to either
- Using Arduino IDE and ESP32 core v2.0.1
- Using PIO and library version v1.2.0-. Read Important notes
- If using library version v1.3.0, add in your code,
// Uncomment to use ESP32 core v1.0.6-
#define USING_CORE_ESP32_CORE_V200_PLUS false