diff -r e0f50087c909 -r eab1b7c07cdf main/config.h --- a/main/config.h Fri Jun 28 15:33:24 2024 +0200 +++ b/main/config.h Sat Jun 29 13:33:57 2024 +0200 @@ -36,7 +36,13 @@ #include "esp_netif.h" #include "esp_mac.h" #include "esp_wifi.h" + +#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 2, 0) #include "esp_wpa2.h" +#else +#include "esp_eap_client.h" +#endif + #include "esp_event.h" #include "esp_timer.h" #include "esp_ota_ops.h"