mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
6192507987
Checking for an exact match for product or serial and string descriptors can lead to test failures if the USB devices connected to the runner is changed. This commit adds some kconfig options to make the string descriptor checks optional, with the product and serial string checks being disabled by default.
25 lines
810 B
Plaintext
25 lines
810 B
Plaintext
menu "USB Host Library Test"
|
|
|
|
config USB_HOST_TEST_CHECK_MANU_STR
|
|
bool "Check manufacturer string descriptor"
|
|
default y
|
|
help
|
|
USB Host tests that check string descriptors will check the manufacturer string
|
|
descriptor of the connected device.
|
|
|
|
config USB_HOST_TEST_CHECK_PROD_STR
|
|
bool "Check product string descriptor"
|
|
default n
|
|
help
|
|
USB Host tests that check string descriptors will check the product string descriptor
|
|
of the connected device.
|
|
|
|
config USB_HOST_TEST_CHECK_SERIAL_STR
|
|
bool "Check serial string descriptor"
|
|
default n
|
|
help
|
|
USB Host tests that check string descriptors will check the serial string descriptor
|
|
of the connected device.
|
|
|
|
endmenu
|