cmsis_dap.prefer_v1 is only effective in config file
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 560
- Avg merge
- 1h 41m
- Merged PRs (30d)
- 3
Description
Setting cmsis_dap.prefer_v1 in pyocd.yaml works fine.
for example, like this.
cmsis_dap.prefer_v1: true
Specifying it in the command line has no effect.
-O cmsis_dap.prefer_v1=true
This is because at this point what it gets is a default session object which do not carry information from _args.options .
In the document it is stated "primarily intended for testing" . so its behaviour need not be fixed, but then the documentation needs fix.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review docs/options.md at the linked option entry and compare its description with the reported -O cmsis_dap.prefer_v1 behavior and the pyocd.yaml example. Update the documentation so the option's supported usage and limitations are explicit; done means the command-line behavior is no longer described misleadingly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100