We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef31ae1 commit d2626bfCopy full SHA for d2626bf
builder/frameworks/espidf.py
@@ -2632,6 +2632,9 @@ def _replace_move(src, dst):
2632
shutil.copyfile(str(Path(env.subst("$PROJECT_DIR")) / ("sdkconfig." + env["PIOENV"])), str(Path(arduino_libs) / chip_variant / "sdkconfig"))
2633
shutil.copyfile(str(Path(env.subst("$PROJECT_DIR")) / ("sdkconfig." + env["PIOENV"])), str(Path(arduino_libs) / "sdkconfig"))
2634
try:
2635
+ # clean env build folder to avoid issues with following Arduino build
2636
+ shutil.rmtree(env_build)
2637
+ Path(env_build).mkdir(parents=True, exist_ok=True)
2638
os.remove(str(Path(env.subst("$PROJECT_DIR")) / "dependencies.lock"))
2639
os.remove(str(Path(env.subst("$PROJECT_DIR")) / "CMakeLists.txt"))
2640
except FileNotFoundError:
0 commit comments