Skip to content

Commit

Permalink
Fix #13, and windows flash task bug
Browse files Browse the repository at this point in the history
Signed-off-by: William Vinnicombe <william.vinnicombe@raspberrypi.com>
  • Loading branch information
will-v-pi committed Apr 26, 2024
1 parent f304339 commit 7b06fc9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/pico_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,9 +955,12 @@ def generateProjectFiles(projectPath, projectName, sdkPath, projects, debugger,
"-f",
"target/rp2040.cfg",
"-c",
"adapter speed 5000; program ${{command:raspberry-pi-pico.launchTargetPath}} verify reset exit"
"adapter speed 5000; program \\"${{command:raspberry-pi-pico.launchTargetPath}}\\" verify reset exit"
],
"problemMatcher": []
"problemMatcher": [],
"windows": {{
"command": "{openocd_path.replace("${userHome}", "${env:USERPROFILE}") if openocd_path else "openocd"}",
}}
}}
]
}}
Expand Down

0 comments on commit 7b06fc9

Please sign in to comment.