Skip to content

Show USB permission warnings when listing probes - #2092

Open
Solarboaters wants to merge 1 commit into
pyocd:developfrom
Solarboaters:fix/list-probe-warnings
Open

Solarboaters wants to merge 1 commit into
pyocd:developfrom
Solarboaters:fix/list-probe-warnings

Conversation

@Solarboaters

Copy link
Copy Markdown

Fixes #1719: show warnings during pyocd list, including the existing ST-Link udev-permission diagnostic, instead of silently reporting no probes. -q still suppresses warnings.

Four subprocess tests exercise actual CLI logging and ST-Link discovery with simulated USB permission denial and no-device controls: original 1 failure/3 passes → fixed 4 passes. Full Linux unit suite and critical lint passed; no physical USB probe tested. AI-assisted implementation and tests, reviewed against before/after results.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

This branch has not been deployed

No deployments
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.

1 participant