Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add USB serial number filtering (RDT-991) #316

Open
Dzarda7 opened this issue Nov 4, 2024 · 1 comment
Open

Add USB serial number filtering (RDT-991) #316

Dzarda7 opened this issue Nov 4, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Dzarda7
Copy link

Dzarda7 commented Nov 4, 2024

Is your feature request related to a problem? Please describe.
There was recently added feature to filter ports by USB serial number to esptool and will be in next release, pyserial has the same feature. It might make sense to add this feature to pytest-embedded as this is perfect solution how to differentiate connected devices.

Describe the solution you'd like
Add option like --port-by-serial to enable filtering, this probably should be impossible to use with --port option. Other filtering options might be also added (like VID, PID etc.), but this one seems to be the best.

Describe alternatives you've considered
CI has to have symlinks for USB ports now, which might make sense in some cases but needs to be set in base system, not in the docker, so this might be another option.

Additional context
This feature is not necessary for me, just want to know your opinion about it as it might be great addition and might simplify making CI tests.

@Dzarda7 Dzarda7 added the enhancement New feature or request label Nov 4, 2024
@github-actions github-actions bot changed the title Add USB serial number filtering Add USB serial number filtering (RDT-991) Nov 4, 2024
@hfudev
Copy link
Member

hfudev commented Nov 4, 2024

@horw could you help take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants