Default USB Interface backend
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- embedded-iot
Research direction
Start by reviewing pull request #1156 and the USB backend reports in issues #1032 and #1144, with the release discussion in issue #1155 for context. Done means the proposed default pyusb fallback behavior is agreed and the remaining commented-out raise or warning handling is resolved.
Written by the indexing model from the issue text.
Description
Hey @flit :-)
I have noticed that a lot of internals changed, also the USB backend handling, we can discuss proposed major release number bump here https://github.com/pyocd/pyOCD/issues/1155.
The initial problem report on USB backend problems were repoted here: https://github.com/pyocd/pyOCD/issues/1032, https://github.com/pyocd/pyOCD/issues/1144.
I have added BSD detection support here https://github.com/pyocd/pyOCD/pull/1153 and modified default error message here https://github.com/pyocd/pyOCD/pull/1154.
I would like to propose pyusb as the default fallback on platforms that are not on the list. That should bring support to USB Interfaces on "unknown" platforms with a backend that is known to be most versatile and platform independent. If pyusb is not present or cannot be used on an unknown platform we will know that directly.
My proposition can be found here https://github.com/pyocd/pyOCD/pull/1156 and is open to discussion :-) We have to remove commented out raise line and maybe replace it with some sort of warning instead :-)
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 560
- Avg merge
- 1h 41m
- Merged PRs (30d)
- 3
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.
More from pyocd/pyOCD
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
Difficulty 3/5 1-2 days Newbie friendliness 78/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100