Skip to content

Commit 1eede67

Browse files
authored
Add support for ESP32-C3, ESP32-S2, and ESP32-S3 board types (#1332)
1 parent 891753f commit 1eede67

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/wled/wled.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,8 +670,14 @@ async def upgrade(self, *, version: str | AwesomeVersion) -> None:
670670
"esp02",
671671
"esp32",
672672
"esp8266",
673+
"esp32-c3",
674+
"esp32-s2",
675+
"esp32-s3",
673676
}:
674-
msg = "Upgrade is only supported on ESP01, ESP02, ESP32 and ESP8266 devices"
677+
msg = (
678+
"Upgrade is only supported on ESP01, ESP02, ESP32, ESP8266, "
679+
"ESP32-C3, ESP32-S2, and ESP32-S3 devices"
680+
)
675681
raise WLEDUpgradeError(msg)
676682

677683
if not self._device.info.version:

0 commit comments

Comments
 (0)