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

stdio_tinyusb_cdc_acm hangs with picolibc #19277

Open
benpicco opened this issue Feb 14, 2023 · 2 comments
Open

stdio_tinyusb_cdc_acm hangs with picolibc #19277

benpicco opened this issue Feb 14, 2023 · 2 comments
Labels
Area: USB Area: Universal Serial Bus Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Comments

@benpicco
Copy link
Contributor

Description

When picolibc is used instead of newlib, the output of stdio_tinyusb_cdc_acm hangs. This does not happen with stdio_cdc_acm (usbus).

Steps to reproduce the issue

Combine

USEMODULE += stdio_tinyusb_cdc_acm

with

FEATURES_REQUIRED += picolibc

Expected results

You can connect to the /dev/ttyACMx interface and receive stdio in/output.

Actual results

The terminal hangs when connecting to /dev/ttyACMx, even disconnect is only possible after a timeout.

Versions

@benpicco benpicco added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: USB Area: Universal Serial Bus labels Feb 14, 2023
@maribu
Copy link
Member

maribu commented May 10, 2023

What was the board you used? (I'm not saying I was unable to reproduce. But it might be easier to look into the issue if I use a board with an MCU of the same family.)

@benpicco
Copy link
Contributor Author

I think I used a weact-f411ce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: USB Area: Universal Serial Bus Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

No branches or pull requests

2 participants