1# Copyright (c) 2023 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4# This file contains Kconfig options and defaults for configuring USB devices 5# using the new experimental USB device support. The scope of these options is 6# limited to USB samples in project tree, you cannot use them in your own 7# application. 8 9menu "USB sample options" 10 depends on USB_DEVICE_STACK_NEXT 11 12config SAMPLE_USBD_MANUFACTURER 13 string "USB device sample manufacturer string" 14 default "Zephyr Project" 15 help 16 USB device sample manufacturer string. 17 18config SAMPLE_USBD_PRODUCT 19 string "USB device sample product string" 20 default "USBD sample" 21 help 22 USB device sample product stringa. 23 24config SAMPLE_USBD_PID 25 hex "USB device sample Product ID" 26 default 0x0001 27 help 28 USB device sample Product ID. 29 30config SAMPLE_USBD_SELF_POWERED 31 bool "USB device sample Self-powered attribute" 32 default y 33 help 34 Set the Self-powered attribute in the sample configuration. 35 36config SAMPLE_USBD_REMOTE_WAKEUP 37 bool "USB device sample Remote Wakeup attribute" 38 help 39 Set the Remote Wakeup attribute in the sample configuration. 40 41config SAMPLE_USBD_MAX_POWER 42 int "USB device sample bMaxPower value" 43 default 125 44 range 0 250 45 help 46 bMaxPower value in the sample configuration in 2 mA units. 47 48config SAMPLE_USBD_20_EXTENSION_DESC 49 bool "Use default USB 2.0 Extension Descriptor" 50 help 51 Set bcdUSB value to 0201 and use default USB 2.0 Extension Descriptor. 52 53endmenu 54