-
Notifications
You must be signed in to change notification settings - Fork 8.2k
usb: patches to resolve issues around Kconfig option USB_UART_CONSOLE #40220
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
Closed
jfischer-no
wants to merge
13
commits into
zephyrproject-rtos:main
from
jfischer-no:pr-usb_uart_console
+184
−168
Closed
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
ee570c8
usb: cdc_acm: use same init level and priority as serial drivers
jfischer-no b0dc396
usb: limit scope of CONFIG_USB_UART_CONSOLE
jfischer-no 623ace0
usb: deprecate Kconfig option USB_UART_CONSOLE
jfischer-no 9b88cba
usb: add option to initialize USB device support at boot
jfischer-no 4d53a79
shields: add generic shield to use CDC ACM UART as backend
jfischer-no 1d52620
samples: shell_module: use generic CDC ACM shield
jfischer-no a92896b
tests: bluetooth: shell: use generic CDC ACM shield
jfischer-no 561c894
tests: uart_basic_api: use generic CDC ACM shield
jfischer-no 461b174
samples: sensortile_box: use generic CDC ACM shield
jfischer-no 74b92d7
samples: usb: console: fix configuration
jfischer-no 9c03497
boards: clean up CDC ACM configuration for nRF52840 based boards
jfischer-no 105e3da
usb: remove the remains of USB_UART_CONSOLE
jfischer-no 6c32698
shields: cdc_acm: add support for zephyr,bt-c2h-uart property
jfischer-no File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so all boards cleaned up in this commit 9c03497 must now use
-DSHIELD=cdc_acm_consoleThat sounds like a step backward in user-friendliness if those boards are expected to always use the usb as console.
For example, this board
bl654_usbdoesn't seem to have any other option than using USB for console:https://docs.zephyrproject.org/latest/boards/arm/bl654_usb/doc/bl654_usb.html
@kieran-mackey FYI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it is a step forward, only with these patches it becomes possible to use CDC ACM UART (not usb) as backend for console. The configuration of this board in the tree is not usable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which board or all boards ?
Read my comment:
i'm refering to the entire commit 9c03497, not a single board, but github requires me to put the comment on a single line.
That is, my comment covers all those boards you are modifying in that commit:
are you saying that the current configuration in Zephyr of those boards are not working for any of them ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as far as I'm aware, the general problem started with this cleanup:
d12331e
which again was fixing:
#38403
caused by this:
#37512
So maybe we should go back to the origin of the problem, instead of completely changing how users must use the boards.