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
693 B
Plaintext
25 lines
693 B
Plaintext
# Copyright (c) 2023 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UDC_SKELETON
|
|
bool "Skeleton for an USB device controller driver"
|
|
default y
|
|
depends on DT_HAS_ZEPHYR_UDC_SKELETON_ENABLED
|
|
select UDC_DRIVER_HAS_HIGH_SPEED_SUPPORT
|
|
help
|
|
Skeleton for an USB device controller driver.
|
|
|
|
config UDC_SKELETON_STACK_SIZE
|
|
int "UDC controller driver internal thread stack size"
|
|
depends on UDC_SKELETON
|
|
default 512
|
|
help
|
|
Skeleton device controller driver internal thread stack size.
|
|
|
|
config UDC_SKELETON_THREAD_PRIORITY
|
|
int "Skeleton controller driver thread priority"
|
|
depends on UDC_SKELETON
|
|
default 8
|
|
help
|
|
Skeleton device controller driver thread priority.
|