2021-05-22 22:41:09 +08:00
|
|
|
# Copyright (c) 2021-2022 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
menuconfig UDC_DRIVER
|
2023-03-27 20:55:23 +08:00
|
|
|
bool "USB device controller drivers [EXPERIMENTAL]"
|
2021-05-22 22:41:09 +08:00
|
|
|
select EXPERIMENTAL
|
|
|
|
select NET_BUF
|
|
|
|
help
|
|
|
|
USB device controller driver.
|
|
|
|
|
|
|
|
if UDC_DRIVER
|
|
|
|
|
|
|
|
config UDC_BUF_COUNT
|
|
|
|
int "Number of buffers in the pool"
|
|
|
|
range 16 256
|
|
|
|
default 16
|
|
|
|
help
|
|
|
|
Number of UDC request buffers in the pool.
|
|
|
|
|
|
|
|
config UDC_BUF_POOL_SIZE
|
|
|
|
int "Memory available for requests"
|
|
|
|
range 64 32768
|
|
|
|
default 1024
|
|
|
|
help
|
|
|
|
Total amount of memory available for UDC requests.
|
|
|
|
|
2024-06-08 01:35:45 +08:00
|
|
|
config UDC_BUF_FORCE_NOCACHE
|
|
|
|
bool "Place the buffer pools in the nocache memory region"
|
|
|
|
depends on NOCACHE_MEMORY && DCACHE
|
|
|
|
help
|
|
|
|
Place the buffer pools in the nocache memory region if the driver
|
|
|
|
cannot handle buffers in cached memory.
|
|
|
|
|
2021-05-22 22:41:09 +08:00
|
|
|
config UDC_WORKQUEUE
|
|
|
|
bool "Use a dedicate work queue for UDC drivers"
|
|
|
|
help
|
|
|
|
This option provides a dedicated work queue for UDC drivers.
|
|
|
|
|
|
|
|
config UDC_WORKQUEUE_STACK_SIZE
|
|
|
|
int "UDC workqueue stack size"
|
|
|
|
depends on UDC_WORKQUEUE
|
|
|
|
default 512
|
|
|
|
|
|
|
|
config UDC_WORKQUEUE_PRIORITY
|
|
|
|
int "UDC workqueue priority"
|
|
|
|
depends on UDC_WORKQUEUE
|
|
|
|
default SYSTEM_WORKQUEUE_PRIORITY
|
|
|
|
help
|
|
|
|
By default, UDC work queue priority is the same as
|
|
|
|
System workqueue priority.
|
|
|
|
|
|
|
|
module = UDC_DRIVER
|
|
|
|
module-str = usb drv
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2023-09-07 19:40:13 +08:00
|
|
|
source "drivers/usb/udc/Kconfig.dwc2"
|
2021-05-22 22:41:09 +08:00
|
|
|
source "drivers/usb/udc/Kconfig.nrf"
|
2022-05-11 05:40:24 +08:00
|
|
|
source "drivers/usb/udc/Kconfig.kinetis"
|
2023-05-03 16:44:56 +08:00
|
|
|
source "drivers/usb/udc/Kconfig.skeleton"
|
2022-09-07 23:44:25 +08:00
|
|
|
source "drivers/usb/udc/Kconfig.virtual"
|
2024-09-27 19:11:08 +08:00
|
|
|
source "drivers/usb/udc/Kconfig.smartbond"
|
2023-01-01 21:22:53 +08:00
|
|
|
source "drivers/usb/udc/Kconfig.stm32"
|
2023-11-25 04:41:57 +08:00
|
|
|
source "drivers/usb/udc/Kconfig.it82xx2"
|
2024-05-27 15:39:48 +08:00
|
|
|
source "drivers/usb/udc/Kconfig.mcux"
|
2024-06-21 16:40:16 +08:00
|
|
|
source "drivers/usb/udc/Kconfig.numaker"
|
2024-08-20 01:13:28 +08:00
|
|
|
source "drivers/usb/udc/Kconfig.rpi_pico"
|
2021-05-22 22:41:09 +08:00
|
|
|
|
|
|
|
endif # UDC_DRIVER
|