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	depends on SHELL
22	help
23	  Enable USB device shell.
24
25config USBD_THREAD_INIT_PRIO
26	int
27	default 90
28	help
29	  USB device thread initialization priority level.
30
31config USBD_THREAD_STACK_SIZE
32	int "USB device stack thread stack size"
33	default 1024
34	help
35	  USB device stack thread stack size in bytes.
36
37config USBD_MAX_UDC_MSG
38	int "Maximum number of UDC events"
39	default 10
40	help
41	  Maximum number of USB device controller events that can be queued.
42
43rsource "class/Kconfig"
44
45endif # USB_DEVICE_STACK_NEXT
46