# Copyright (c) 2023 Nordic Semiconductor ASA # SPDX-License-Identifier: Apache-2.0 # This file contains Kconfig options and defaults for configuring USB devices # using the new experimental USB device support. The scope of these options is # limited to USB samples in project tree, you cannot use them in your own # application. menu "USB sample options" depends on USB_DEVICE_STACK_NEXT config SAMPLE_USBD_MANUFACTURER string "USB device sample manufacturer string" default "Zephyr Project" help USB device sample manufacturer string. config SAMPLE_USBD_PRODUCT string "USB device sample product string" default "USBD sample" help USB device sample product stringa. config SAMPLE_USBD_VID hex "USB device sample Vendor ID" default 0x2fe3 help USB device sample Vendor ID. The default id (0x2fe3) is associated to Zephyr Project, you must use your own VID for samples and applications outside of Zephyr Project. config SAMPLE_USBD_PID hex "USB device sample Product ID" default 0x0001 help USB device sample Product ID. You must use your own PID for samples and applications outside of Zephyr Project. config SAMPLE_USBD_SELF_POWERED bool "USB device sample Self-powered attribute" default y help Set the Self-powered attribute in the sample configuration. config SAMPLE_USBD_REMOTE_WAKEUP bool "USB device sample Remote Wakeup attribute" help Set the Remote Wakeup attribute in the sample configuration. config SAMPLE_USBD_MAX_POWER int "USB device sample bMaxPower value" default 125 range 0 250 help bMaxPower value in the sample configuration in 2 mA units. config SAMPLE_USBD_20_EXTENSION_DESC bool "Use default USB 2.0 Extension Descriptor" depends on USBD_BOS_SUPPORT help Set bcdUSB value to 0201 and use default USB 2.0 Extension Descriptor. endmenu