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 cae59d9 commit 679f6a3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion builder/frameworks/espidf.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

print("Build Flags", env.subst("$BUILD_FLAGS"))
print("Build UnFlags", env.subst("$BUILD_UNFLAGS"))
print("Source Dir", PROJECT_SRC_DIR)

try:
print("Custom Pio sdkconfig", env.GetProjectOption("custom_sdkconfig").splitlines())
if env.GetProjectOption("custom_sdkconfig").splitlines():
Expand All @@ -121,8 +121,14 @@
env("$BUILD_FLAGS").clear()
env("$BUILD_UNFLAGS").clear()
PROJECT_SRC_DIR = PROJECT_SRC_DIR.replace("tasmota", "dummy")
env("$PROJECT_SRC_DIR").clear()
env("$PROJECT_SRC_DIR").append(PROJECT_SRC_DIR)
except:
pass
print("Source Dir", PROJECT_SRC_DIR)
print("Build Flags", env.subst("$BUILD_FLAGS"))
print("Build UnFlags", env.subst("$BUILD_UNFLAGS"))


def get_project_lib_includes(env):
project = ProjectAsLibBuilder(env, "$PROJECT_DIR")
Expand Down

0 comments on commit 679f6a3

Please sign in to comment.