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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user