zephyr/subsys/usb/device_next
Johann Fischer 7ffa6203e1 usb: device_next: allow CDC ACM UART to be initialized and enabled at boot
There are some boards and samples in the tree that use the CDC ACM UART
as the default serial backend, just like a real UART controller would.
The new device stack requires more detailed configuration than the old
one. In order to use the CDC ACM UART as the serial backend with the new
device stack in the same way as with the legacy stack, we need to
provide a solution to initialise and enable the CDC ACM UART at boot
time. We cannot use snippets as they do not support Kconfig files or
source code. Shields would be an option, but they cannot be used for
virtual devices such as the CDC ACM UART. The remaining solution is to
put the code and Kconfig file for it in the subsys directory.

Allow CDC ACM UART instance and USB device stack to be initialized and
enabled at boot time and to use it as serial backend for logging or
shell.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-02-12 02:22:18 +01:00
..
app usb: device_next: allow CDC ACM UART to be initialized and enabled at boot 2025-02-12 02:22:18 +01:00
class usb: device_next: allow CDC ACM UART to be initialized and enabled at boot 2025-02-12 02:22:18 +01:00
CMakeLists.txt usb: device_next: allow CDC ACM UART to be initialized and enabled at boot 2025-02-12 02:22:18 +01:00
Kconfig usb: device_next: allow CDC ACM UART to be initialized and enabled at boot 2025-02-12 02:22:18 +01:00
usbd_ch9.c usb: device: next: reduce log level for vendor requests 2024-12-25 03:37:26 +01:00
usbd_ch9.h
usbd_class_api.h
usbd_class.c usb: device_next: implement blocklist for classes 2025-02-04 11:55:25 +01:00
usbd_class.h
usbd_config.c
usbd_config.h
usbd_core.c usb: device_next: support vendor request with recipient device 2024-11-19 09:53:29 -05:00
usbd_data.ld
usbd_desc.c usb: device_next: support BOS descriptor with vendor request code 2024-11-19 09:53:29 -05:00
usbd_desc.h
usbd_device.c usb: device_next: lock scheduler in usbd_enable() 2025-02-10 09:02:45 +01:00
usbd_device.h usb: device_next: support vendor request with recipient device 2024-11-19 09:53:29 -05:00
usbd_endpoint.c usb: device_next: respect bMaxPacketSize0 in control transfers 2024-10-02 14:54:04 +01:00
usbd_endpoint.h
usbd_init.c usb: device_next: Update IAD first interface on init 2024-12-12 16:22:49 +01:00
usbd_init.h
usbd_interface.c
usbd_interface.h
usbd_msg.c
usbd_msg.h
usbd_shell.c