Two main ideas behind setting maximum speed are: * Allow code and RAM optimizations at compile time * Allow High-Speed capable drivers to limit operating speed to user choice. This commit only introduces the necessary Kconfig options but does not implement any code or RAM optimizations and does not modify any driver. Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
25 lines
684 B
Text
25 lines
684 B
Text
# Copyright (c) 2022 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UDC_VIRTUAL
|
|
bool "Virtual USB device controller driver"
|
|
select UVB
|
|
default y
|
|
depends on DT_HAS_ZEPHYR_UDC_VIRTUAL_ENABLED
|
|
select UDC_DRIVER_HAS_HIGH_SPEED_SUPPORT
|
|
help
|
|
Virtual USB device controller driver.
|
|
|
|
config UDC_VIRTUAL_STACK_SIZE
|
|
int "Virtual controller driver internal thread stack size"
|
|
depends on UDC_VIRTUAL
|
|
default 512
|
|
help
|
|
Virtual device controller driver internal thread stack size.
|
|
|
|
config UDC_VIRTUAL_THREAD_PRIORITY
|
|
int "Virtual controller driver thread priority"
|
|
depends on UDC_VIRTUAL
|
|
default 8
|
|
help
|
|
Virtual device controller driver thread priority.
|