1# Copyright (c) 2022 Nordic Semiconductor ASA
2#
3# SPDX-License-Identifier: Apache-2.0
4
5menuconfig USB_HOST_STACK
6	bool "USB host stack [EXPERIMENTAL]"
7	select EXPERIMENTAL
8	select UHC_DRIVER
9	help
10	  New experimental USB host stack.
11
12if USB_HOST_STACK
13
14module = USBH
15module-str = usbh
16source "subsys/logging/Kconfig.template.log_config"
17
18config USBH_USB_DEVICE_MAX
19	int "Maximum number of USB devices supported."
20	default 4
21	range 2 127
22	help
23	  Maximum number of USB devices supported for all controllers.
24
25config USBH_USB_DEVICE_HEAP
26	int "Memory used to cache device descriptors"
27	default 1024
28	range 256 16384
29	help
30	  Memory used to cache device descriptors.
31
32config USBH_SHELL
33	bool "USB host shell"
34	depends on SHELL
35	help
36	  Shell commands for USB host support.
37
38config USBH_INIT_PRIO
39	int
40	default 90
41	help
42	  USB host thread initialization priority level.
43
44config USBH_STACK_SIZE
45	int "USB host stack thread stack size"
46	default 1024
47	help
48	  USB host stack thread stack size in bytes.
49
50config USBH_MAX_UHC_MSG
51	int "Maximum number of UHC events"
52	default 10
53	help
54	  Maximum number of USB host controller events that can be queued.
55
56rsource "Kconfig.usbip"
57
58endif # USB_HOST_STACK
59