Skip to content

Commit

Permalink
Fix PICO_TOOLCHAIN_PATH on windows integrated terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
will-v-pi committed Apr 30, 2024
1 parent 4250494 commit 9bdfd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pico_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ def generateProjectFiles(projectPath, projectName, sdkPath, projects, debugger,
"C_Cpp.debugShortcut": false,
"terminal.integrated.env.windows": {{
"PICO_SDK_PATH": "{propertiesSdkPath(sdkVersion, force_windows=True)}",
"PICO_TOOLCHAIN_PATH": "{propertiesToolchainPath(sdkVersion, force_windows=True)}",
"PICO_TOOLCHAIN_PATH": "{propertiesToolchainPath(toolchainVersion, force_windows=True)}",
"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}}"
}},
"terminal.integrated.env.osx": {{
Expand Down

0 comments on commit 9bdfd78

Please sign in to comment.