[wifi] Reject EAP/WPA2 Enterprise config on unsupported platforms

WPA2 Enterprise (EAP) is only implemented for ESP32 and ESP8266 but the
config schema accepted it on all platforms. On RP2040 this caused a
bootloop with no useful error message. Now rejects EAP config at
validation time on unsupported platforms.

Closes https://github.com/esphome/esphome/issues/14743
This commit is contained in:
J. Nick Koston
2026-03-12 13:26:44 -10:00
parent 05d285ba86
commit d7310fff32
+1
View File
@@ -166,6 +166,7 @@ TTLS_PHASE_2 = {
}
EAP_AUTH_SCHEMA = cv.All(
cv.only_on([Platform.ESP32, Platform.ESP8266]),
cv.Schema(
{
cv.Optional(CONF_IDENTITY): cv.string_strict,