Skip to content

Commit 2f2ddc7

Browse files
committed
Normalize path in the "IDF_PATH" variable // Resolve platformio#960
1 parent c0df90f commit 2f2ddc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/frameworks/espidf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def get_cmake_code_model(src_dir, build_dir, extra_args=None):
215215

216216

217217
def populate_idf_env_vars(idf_env):
218-
idf_env["IDF_PATH"] = FRAMEWORK_DIR
218+
idf_env["IDF_PATH"] = fs.to_unix_path(FRAMEWORK_DIR)
219219
additional_packages = [
220220
os.path.join(TOOLCHAIN_DIR, "bin"),
221221
platform.get_package_dir("tool-ninja"),

0 commit comments

Comments
 (0)