Skip to content

Commit 7bbd98d

Browse files
authored
fix map path for windows
1 parent 0e5cd17 commit 7bbd98d

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
@@ -1785,7 +1785,7 @@ def get_python_exe():
17851785

17861786
# This will add the linker flag for the map file
17871787
extra_cmake_args.append(
1788-
f'-DCMAKE_EXE_LINKER_FLAGS=-Wl,-Map={os.path.join(BUILD_DIR, env.subst("$PROGNAME") + ".map")}'
1788+
f'-DCMAKE_EXE_LINKER_FLAGS=-Wl,-Map={fs.to_unix_path(os.path.join(BUILD_DIR, env.subst("$PROGNAME") + ".map"))}'
17891789
)
17901790

17911791
# Add any extra args from board config

0 commit comments

Comments
 (0)