Skip to content

Commit 9bdfd78

Browse files
committed
Fix PICO_TOOLCHAIN_PATH on windows integrated terminal
1 parent 4250494 commit 9bdfd78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pico_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ def generateProjectFiles(projectPath, projectName, sdkPath, projects, debugger,
891891
"C_Cpp.debugShortcut": false,
892892
"terminal.integrated.env.windows": {{
893893
"PICO_SDK_PATH": "{propertiesSdkPath(sdkVersion, force_windows=True)}",
894-
"PICO_TOOLCHAIN_PATH": "{propertiesToolchainPath(sdkVersion, force_windows=True)}",
894+
"PICO_TOOLCHAIN_PATH": "{propertiesToolchainPath(toolchainVersion, force_windows=True)}",
895895
"Path": "{propertiesToolchainPath(toolchainVersion, force_windows=True)}/bin;{os.path.dirname(cmakePath.replace(user_home, "${env:USERPROFILE}") if use_home_var else cmakePath)};{os.path.dirname(ninjaPath.replace(user_home, "${env:USERPROFILE}") if use_home_var else ninjaPath)};${{env:PATH}}"
896896
}},
897897
"terminal.integrated.env.osx": {{

0 commit comments

Comments
 (0)