Skip to content

Commit bd031b8

Browse files
committed
IDF: Reduce time between consecutive builds by enabling implicit build cache
1 parent fc336a9 commit bd031b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builder/frameworks/espidf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@ def prepare_build_envs(config, default_env, debug_allowed=True):
624624
defines = extract_defines(cg)
625625
compile_commands = cg.get("compileCommandFragments", [])
626626
build_env = default_env.Clone()
627+
build_env.SetOption("implicit_cache", 1)
627628
for cc in compile_commands:
628629
build_flags = cc.get("fragment")
629630
if not build_flags.startswith("-D"):

0 commit comments

Comments
 (0)