Make new toolchains for ESP-IDF v4.3.1 mandatory

Resolve #665
This commit is contained in:
valeros
2021-11-08 16:40:05 +02:00
parent 824c5fb93c
commit 4bea81ffed
+5 -2
View File
@@ -59,9 +59,12 @@ class Espressif32Platform(PlatformBase):
if (
p.startswith("toolchain")
and "ulp" not in p
and self.packages[p]["owner"] != "espressif"
):
del self.packages[p]
if self.packages[p]["owner"] == "espressif":
self.packages[p]["optional"] = False
else:
del self.packages[p]
if p in ("tool-cmake", "tool-ninja", "toolchain-%sulp" % mcu):
self.packages[p]["optional"] = False
elif p in ("tool-mconf", "tool-idf") and "windows" in get_systype():