[esp32] Clear IDF environment variables (#10527)

Co-authored-by: J. Nick Koston <nick+github@koston.org>
This commit is contained in:
Jonathan SwobodaandJ. Nick Koston authored and Jesse Hills committed 2025-09-04 09:06:00 +12:00
1 parent 1b8978a89a
commit 9fe94f1201
1 file changed
+3
+3
View File
@@ -841,6 +841,9 @@ async def to_code(config):
if conf[CONF_ADVANCED][CONF_IGNORE_EFUSE_CUSTOM_MAC]:
cg.add_define("USE_ESP32_IGNORE_EFUSE_CUSTOM_MAC")
for clean_var in ("IDF_PATH", "IDF_TOOLS_PATH"):
os.environ.pop(clean_var, None)
add_extra_script(
"post",
"post_build.py",