Skip to content

Commit e554b70

Browse files
authored
fix map path for windows
1 parent e646f7c commit e554b70

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

18541854
# This will add the linker flag for the map file
18551855
extra_cmake_args.append(
1856-
f'-DCMAKE_EXE_LINKER_FLAGS=-Wl,-Map={os.path.join(BUILD_DIR, env.subst("$PROGNAME") + ".map")}'
1856+
f'-DCMAKE_EXE_LINKER_FLAGS=-Wl,-Map={fs.to_unix_path(os.path.join(BUILD_DIR, env.subst("$PROGNAME") + ".map"))}'
18571857
)
18581858

18591859
# Add any extra args from board config

0 commit comments

Comments
 (0)