The name and wording used in template can be misleading. Use more accurate word instance instead of device since an implementation does not necessarily have to implement a device (in the sense of Zephyr device model), and if it does then devicetree should be used to describe number of instances as in the case of CDC ACM implementation. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
19 lines
424 B
Plaintext
19 lines
424 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.instances_count"
|
|
endif
|