1# Copyright (c) 2024 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4# This file contains Kconfig options and defaults for configuring the USB 5# device stack and CDC ACM instance to be used as the default serial backend 6# for logging or shell. 7 8 9menuconfig CDC_ACM_SERIAL_INITIALIZE_AT_BOOT 10 bool "Initialize USB device and CDC ACM UART at boot" 11 depends on USBD_CDC_ACM_CLASS 12 help 13 This is intended for use with cdc-acm-snippet or as a default serial 14 backend only in applications where no other USB features are 15 required, configured, and enabled. 16 17if CDC_ACM_SERIAL_INITIALIZE_AT_BOOT 18 19config CDC_ACM_SERIAL_MANUFACTURER_STRING 20 string "USB device manufacturer string descriptor" 21 default "Zephyr Project" 22 help 23 USB device manufacturer string descriptor. 24 25config CDC_ACM_SERIAL_PRODUCT_STRING 26 string "USB device product string descriptor" 27 default "CDC ACM serial backend" 28 help 29 USB device product string descriptor. 30 31config CDC_ACM_SERIAL_VID 32 hex "USB device Vendor ID" 33 default 0x2fe3 34 help 35 You must use your own VID for samples and applications outside of 36 Zephyr Project. 37 38config CDC_ACM_SERIAL_PID 39 hex "USB device Product ID" 40 default 0x0004 41 help 42 You must use your own PID for samples and applications outside of 43 Zephyr Project. 44 45config CDC_ACM_SERIAL_SELF_POWERED 46 bool "USB device Self-powered attribute" 47 help 48 Set the Self-powered attribute in the configuration. 49 50config CDC_ACM_SERIAL_MAX_POWER 51 int "USB device bMaxPower value" 52 default 125 53 range 0 250 54 help 55 bMaxPower value in the configuration in 2 mA units. 56 57endif #CDC_ACM_SERIAL_INITIALIZE_AT_BOOT 58