Skip to content

Remove --connect argument from pyOCD templates#92

Merged
jkrech merged 1 commit into
Open-CMSIS-Pack:mainfrom
TeoMahnic:pyocd-template
Apr 1, 2026
Merged

Remove --connect argument from pyOCD templates#92
jkrech merged 1 commit into
Open-CMSIS-Pack:mainfrom
TeoMahnic:pyocd-template

Conversation

@TeoMahnic
Copy link
Copy Markdown
Contributor

The --connect command-line argument is no longer required, since pyOCD supports the connect:
node in *.cbuild-run.yml.

@jkrech
Copy link
Copy Markdown
Member

jkrech commented Feb 18, 2026

@TeoMahnic, which version of pyOCD is required so that the --connect is no longer required? Or was that never required?
I am unsure whether we should merge it already now as it will be present in cmsis solution extension 1.66 release.

@TeoMahnic
Copy link
Copy Markdown
Contributor Author

@jkrech the --connect argument is no longer necessary for pyOCD 0.42 and newer, as these versions automatically interpret the connect: debugger node in *.cbuild-run.yml.

@jkrech
Copy link
Copy Markdown
Member

jkrech commented Feb 19, 2026

As pyOCD 0.42 is currently the latest version shipped with the latest extension, and since it does not hurt to specify it, I would not rush and wait at least for another release cycle to remove it, in case people continue to use an older version of the CMSIS Debugger with a new version of CMSIS Solution.

@jreineckearm
Copy link
Copy Markdown
Collaborator

We have released in the meanwhile pyOCD 0.43.1 and related VS Code extensions (CMSIS Solution, CMSIS Debugger).
Should be safe now to merge.

@jkrech jkrech merged commit 45c206d into Open-CMSIS-Pack:main Apr 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants