Skip to content

Commit

Permalink
Update espidf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Sep 29, 2024
1 parent ccad5dd commit 0137ab1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions builder/frameworks/espidf.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,13 @@
ORIG_BUILD_FLAGS = env.subst("$BUILD_FLAGS")
ORIG_BUILD_UNFLAGS = env.subst("$BUILD_UNFLAGS")
ORIG_PROJECT_SRC_DIR = PROJECT_SRC_DIR
del ["$BUILD_FLAGS"][:]
del ["$BUILD_UNFLAGS"][:]
while(len(["$BUILD_FLAGS"]) != 0):
["$BUILD_FLAGS"].pop()
while(len(["$BUILD_UNFLAGS"]) != 0):
["$BUILD_UNFLAGS"].pop()
PROJECT_SRC_DIR = PROJECT_SRC_DIR.replace("tasmota", "dummy")
del ["$PROJECT_SRC_DIR"][:]
while(len(["$PROJECT_SRC_DIR"]) != 0):
["$PROJECT_SRC_DIR"].pop()
["$PROJECT_SRC_DIR"].append(PROJECT_SRC_DIR)
except:
pass
Expand Down

0 comments on commit 0137ab1

Please sign in to comment.