-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
shell/usb cdc_acm: shell does not work on CDC_ACM #32581
Comments
|
Yes, this is at least partly due to @galak again we should perhaps slow down on removing label properties. |
FWIW, I can't manage to get |
I'm going to call this a configuration error, and so the issue is a question, not a bug or a regression. The shell UART back end initializes in Most UART devices initialize in So everything just works as long as serial devices are initialized in an earlier init level. But CDC ACM device initializes at So the correct fix, if using CDC ACM for shell, is to increase I don't see any obvious way to detect the situation and change the default. FWIW, the solution prototyped in #32587 also makes it work, but for the same reason that it worked until Making shell_uart robust in the face of UART devices that can be started late or turned off is a much larger task. |
I can confirm that setting |
The shell is not responding on USB CDC_ACM after #31880 got merged.
However, the USB serial device is still working.
I'm on a custom board with an stm32g4.
Reverting the commit from 31880 brings the shell back.
The text was updated successfully, but these errors were encountered: