# Kconfig - USB STUB configuration options # # Copyright (c) 2020 Actions Corp. # # SPDX-License-Identifier: Apache-2.0 # config USB_DEVICE_STUB bool prompt "USB STUB Device support" default n help Enables USB STUB Device support. if USB_DEVICE_STUB config USB_STUB_DEVICE_MANUFACTURER string prompt "USB manufacturer name" default "Actions" help USB stub device manufacturer string, can be configured by vendor. config USB_STUB_DEVICE_PRODUCT string prompt "USB product name" default "USB-STUB-DEV" help USB stub device product string, can be configured by vendor. config USB_STUB_DEVICE_SN string prompt "USB serial number" default "0123456789AB" help USB stub device serialnumber string, can be configured by vendor. config USB_STUB_DEVICE_SN_NVRAM string prompt "get serial number from NVRAM" default "BT_MAC" help get USB stub device serial number string from NVRAM, can be configured by vendor. config STUB_IN_EP_ADDR hex "USB STUB bulk-IN endpoint address" default 0x81 range 0x81 0x8f help USB STUB bulk-IN endpoint address. config STUB_OUT_EP_ADDR hex "USB STUB bulk-OUT endpoint address" default 0x02 range 0x01 0x0f help USB STUB bulk-OUT endpoint address. config STUB_EP_MPS int "Maximum packet length of USB stub device endpoint" default 64 range 8 512 help Maximum packet length of USB stub device endpoint. config SYS_LOG_USB_STUB_LEVEL int "USB STUB device class driver log level" depends on LOG default 0 help Sets log level for USB STUB device class driver Levels are: - 0 OFF, do not write - 1 ERROR, only write SYS_LOG_ERR - 2 WARNING, write SYS_LOG_WRN in addition to previous level - 3 INFO, write SYS_LOG_INF in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels endif #USB_DEVICE_STUB