Skip to content

[Feature Request]: pyOCD: Refactor STDIO (used by semihosting and SWO) to avoid blocking console reads #704

@DavidLesnjak

Description

@DavidLesnjak

Description

run and gdbserver now route semihosting and SWO through StdioHandler. Stdin from the console can still block and prevent clean shutdown or responsive I/O handling. Improve stdio handling by making console stdin non-blocking (poll/queue-based) so reading the input never stalls the main loop and remains consistent across platforms.

Is this request a Security Requirement?

  • Yes

Priority

Medium

Related Issues (Optional)

No response

Additional Notes (Optional)

No response

Metadata

Metadata

Assignees

Labels

pyOCDChange is required in shipped pyOCD variant

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions