Skip to content

Commit aa5beb4

Browse files
authored
Expand OS vars in build.esp-idf.sdkconfig_path (platformio#995)
1 parent e4262ee commit aa5beb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/frameworks/espidf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@
8484
PROJECT_DIR = env.subst("$PROJECT_DIR")
8585
PROJECT_SRC_DIR = env.subst("$PROJECT_SRC_DIR")
8686
CMAKE_API_REPLY_PATH = os.path.join(".cmake", "api", "v1", "reply")
87-
SDKCONFIG_PATH = board.get(
87+
SDKCONFIG_PATH = os.path.expandvars(board.get(
8888
"build.esp-idf.sdkconfig_path",
8989
os.path.join(PROJECT_DIR, "sdkconfig.%s" % env.subst("$PIOENV")),
90-
)
90+
))
9191

9292

9393
def get_project_lib_includes(env):

0 commit comments

Comments
 (0)