diff --git a/builder/frameworks/espidf.py b/builder/frameworks/espidf.py index 6105a4e..b627700 100644 --- a/builder/frameworks/espidf.py +++ b/builder/frameworks/espidf.py @@ -624,6 +624,7 @@ def prepare_build_envs(config, default_env, debug_allowed=True): defines = extract_defines(cg) compile_commands = cg.get("compileCommandFragments", []) build_env = default_env.Clone() + build_env.SetOption("implicit_cache", 1) for cc in compile_commands: build_flags = cc.get("fragment") if not build_flags.startswith("-D"):