@felmue said in Cant compile M5ez.h:
Hello @EricR
without downgrading the Arduino ESP32 framework (e.g. using v2.0.3) I was able to compile M5ez with the following three modifications.
In M5ez.h disable WPS by replacing#define M5EZ_WPS with #define M5EZ_WPSx.
In M5ez.cpp replace info.disconnected.reason with info.wifi_sta_disconnected.reason.
In M5ez.cpp replace SYSTEM_EVENT_STA_DISCONNECTED with ARDUINO_EVENT_WIFI_STA_DISCONNECTED.
Thanks
Felix
Thanks! Just like Crazyhorse I came back to my M5 after about a year break. Your info saved a noob days of misery!!!