Skip to content

Commit 4bea81f

Browse files
committed
Make new toolchains for ESP-IDF v4.3.1 mandatory
Resolve platformio#665
1 parent 824c5fb commit 4bea81f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

platform.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,12 @@ def configure_default_packages(self, variables, targets):
5959
if (
6060
p.startswith("toolchain")
6161
and "ulp" not in p
62-
and self.packages[p]["owner"] != "espressif"
6362
):
64-
del self.packages[p]
63+
if self.packages[p]["owner"] == "espressif":
64+
self.packages[p]["optional"] = False
65+
else:
66+
del self.packages[p]
67+
6568
if p in ("tool-cmake", "tool-ninja", "toolchain-%sulp" % mcu):
6669
self.packages[p]["optional"] = False
6770
elif p in ("tool-mconf", "tool-idf") and "windows" in get_systype():

0 commit comments

Comments
 (0)