From 282e0c753ba24a1b746fdbcc9d2bd7d9cc46ee58 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 8 Jul 2025 17:20:58 +0200 Subject: [PATCH] fix map path for windows --- builder/frameworks/espidf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/frameworks/espidf.py b/builder/frameworks/espidf.py index 47583a3..c2eb365 100644 --- a/builder/frameworks/espidf.py +++ b/builder/frameworks/espidf.py @@ -1853,7 +1853,7 @@ extra_cmake_args = [ # This will add the linker flag for the map file extra_cmake_args.append( - f'-DCMAKE_EXE_LINKER_FLAGS=-Wl,-Map={os.path.join(BUILD_DIR, env.subst("$PROGNAME") + ".map")}' + f'-DCMAKE_EXE_LINKER_FLAGS=-Wl,-Map={fs.to_unix_path(os.path.join(BUILD_DIR, env.subst("$PROGNAME") + ".map"))}' ) # Add any extra args from board config