Skip to content

Commit 20268d7

Browse files
authored
switch of LDF for target erase
1 parent 766384c commit 20268d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ def switch_off_ldf():
652652
This optimization prevents unnecessary library dependency scanning and compilation
653653
when only filesystem operations are performed.
654654
"""
655-
fs_targets = {"uploadfs", "uploadfsota", "buildfs"}
655+
fs_targets = {"uploadfs", "uploadfsota", "buildfs", "erase"}
656656
if fs_targets & set(COMMAND_LINE_TARGETS):
657657
# Disable LDF by modifying project configuration directly
658658
env_section = "env:" + env["PIOENV"]

0 commit comments

Comments
 (0)