The device supprt brings support for multiple stack instances, multiple configuration, asynchronous transfer model, ability to change most of the properties of a device at runtime and the composition of configuration and classes at runtime. The stack requires new UDC driver API and is not compatible with old driver API (usb_dc_). The classes (functions) of old (current) USB device stack cannot be used with new ones and must be ported. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
19 lines
432 B
Plaintext
19 lines
432 B
Plaintext
# Copyright (c) 2022 Nordic Semiconductor ASA
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config USBD_LOOPBACK_CLASS
|
|
bool "USB Loopback Class"
|
|
help
|
|
USB device loopback class.
|
|
Primarily used for test and development purposes.
|
|
|
|
if USBD_LOOPBACK_CLASS
|
|
module = USBD_LOOPBACK
|
|
module-str = usbd loopback
|
|
default-count = 1
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
rsource "Kconfig.template.composite_device_number"
|
|
endif
|