1# Copyright (c) 2022 Nordic Semiconductor ASA
2#
3# SPDX-License-Identifier: Apache-2.0
4
5menuconfig USB_DEVICE_STACK_NEXT
6	bool "New USB device stack [EXPERIMENTAL]"
7	select EXPERIMENTAL
8	select UDC_DRIVER
9	select HWINFO
10	help
11	  New experimental USB device stack.
12
13if USB_DEVICE_STACK_NEXT
14
15module = USBD
16module-str = usbd
17source "subsys/logging/Kconfig.template.log_config"
18
19config USBD_SHELL
20	bool "USB device shell"
21	default y
22	depends on SHELL
23	help
24	  Enable USB device shell.
25
26config USBD_THREAD_INIT_PRIO
27	int
28	default 90
29	help
30	  USB device thread initialization priority level.
31
32config USBD_THREAD_STACK_SIZE
33	int "USB device stack thread stack size"
34	default 1024
35	help
36	  USB device stack thread stack size in bytes.
37
38config USBD_MAX_UDC_MSG
39	int "Maximum number of UDC events"
40	default 10
41	help
42	  Maximum number of USB device controller events that can be queued.
43
44rsource "class/Kconfig"
45
46endif # USB_DEVICE_STACK_NEXT
47