fix map path for windows

This commit is contained in:
Jason2866
2025-07-08 17:20:58 +02:00
committed by GitHub
parent 76886abd75
commit 282e0c753b
+1 -1
View File
@@ -1853,7 +1853,7 @@ extra_cmake_args = [
# This will add the linker flag for the map file # This will add the linker flag for the map file
extra_cmake_args.append( 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 # Add any extra args from board config