1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

[esp32] Set the location of the IDF component manager cache (#11467)

This commit is contained in:
Jonathan Swoboda
2025-10-22 14:28:18 -04:00
committed by GitHub
parent f592f79bce
commit 77141d3e83

View File

@@ -877,6 +877,11 @@ async def to_code(config):
for clean_var in ("IDF_PATH", "IDF_TOOLS_PATH"):
os.environ.pop(clean_var, None)
# Set the location of the IDF component manager cache
os.environ["IDF_COMPONENT_CACHE_PATH"] = str(
CORE.relative_internal_path(".espressif")
)
add_extra_script(
"post",
"post_build.py",