Skip to content

Conversation

@rygwdn
Copy link
Contributor

@rygwdn rygwdn commented Oct 10, 2025

Summary

Fixes reliability issues with debug output by implementing proper CDC write buffering. The debug printf function now handles cases where the CDC buffer is full by chunking writes, checking available space, and timing out gracefully if the connection is lost or buffer stays full.

Uses the same logic as stdio_usb_out_chars in pico-sdk

@hrvach hrvach merged commit f82e7dd into hrvach:main Oct 31, 2025
1 check passed
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.

2 participants