2022-01-10 20:37:17 +08:00
|
|
|
# Copyright (c) 2022 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
menuconfig UHC_DRIVER
|
2023-03-27 20:55:23 +08:00
|
|
|
bool "USB host controller drivers [EXPERIMENTAL]"
|
2022-01-10 20:37:17 +08:00
|
|
|
select EXPERIMENTAL
|
|
|
|
select NET_BUF
|
|
|
|
help
|
|
|
|
USB host controller driver.
|
|
|
|
|
|
|
|
if UHC_DRIVER
|
|
|
|
|
|
|
|
config UHC_XFER_COUNT
|
|
|
|
int "Number of transfers in the pool"
|
|
|
|
range 2 256
|
|
|
|
default 16
|
|
|
|
help
|
|
|
|
Number of UHC transfers available.
|
|
|
|
|
|
|
|
config UHC_BUF_COUNT
|
|
|
|
int "Number of buffers in the pool"
|
|
|
|
range 16 256
|
|
|
|
default 16
|
|
|
|
help
|
|
|
|
Number of UHC request buffers in the pool.
|
|
|
|
|
|
|
|
config UHC_BUF_POOL_SIZE
|
|
|
|
int "Memory available for buffers"
|
|
|
|
range 64 32768
|
|
|
|
default 1024
|
|
|
|
help
|
|
|
|
Total amount of memory available for UHC buffers.
|
|
|
|
|
|
|
|
module = UHC_DRIVER
|
|
|
|
module-str = uhc drv
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
|
|
|
source "drivers/usb/uhc/Kconfig.max3421e"
|
2022-09-07 23:40:58 +08:00
|
|
|
source "drivers/usb/uhc/Kconfig.virtual"
|
2022-01-10 20:37:17 +08:00
|
|
|
|
|
|
|
endif # UHC_DRIVER
|