1# Copyright (c) 2024 Nordic Semiconductor ASA 2# 3# SPDX-License-Identifier: Apache-2.0 4 5config USBD_CDC_NCM_CLASS 6 bool "USB CDC NCM implementation" 7 default y 8 depends on NET_L2_ETHERNET 9 depends on DT_HAS_ZEPHYR_CDC_NCM_ETHERNET_ENABLED 10 help 11 USB CDC Network Control Model (NCM) implementation 12 13if USBD_CDC_NCM_CLASS 14 15config USBD_CDC_NCM_MAX_DGRAM_PER_NTB 16 int "Max number of received datagrams per NTB" 17 range 0 $(UINT16_MAX) 18 default 2 19 help 20 How many datagrams we are able to receive per NTB. 21 22config USBD_CDC_NCM_SUPPORT_NTB32 23 bool "Support NTB32 format" 24 help 25 Enable support for NTB32 format which allows larger 26 packet sizes. 27 28module = USBD_CDC_NCM 29module-str = usbd cdc_ncm 30source "subsys/logging/Kconfig.template.log_config" 31 32endif 33