Kconfig 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. menu "TinyUSB"
  2. config USB_ENABLED
  3. bool "Enable TinyUSB driver"
  4. default n
  5. depends on IDF_TARGET_ESP32S2
  6. select FREERTOS_SUPPORT_STATIC_ALLOCATION
  7. select FREERTOS_USE_AUTHENTIC_INCLUDE_PATHS
  8. help
  9. Adds support for TinyUSB
  10. config USB_DEBUG
  11. bool "Debug mode"
  12. default n
  13. depends on USB_ENABLED
  14. help
  15. Debug mode
  16. menu "Descriptor configuration"
  17. config USB_DESC_USE_ESPRESSIF_VID
  18. bool "VID: Use an Espressif's default value"
  19. default y
  20. depends on USB_ENABLED
  21. help
  22. Long description
  23. config USB_DESC_CUSTOM_VID
  24. hex "Custom VID value"
  25. default 0x1234
  26. depends on !USB_DESC_USE_ESPRESSIF_VID
  27. help
  28. Custom Vendor ID
  29. config USB_DESC_USE_DEFAULT_PID
  30. bool "PID: Use a default PID assigning"
  31. default y
  32. depends on USB_ENABLED
  33. help
  34. Default TinyUSB PID assigning uses values 0x4000...0x4007
  35. config USB_DESC_CUSTOM_PID
  36. hex "Custom PID value"
  37. default 0x5678
  38. depends on !USB_DESC_USE_DEFAULT_PID
  39. help
  40. Custom Product ID
  41. config USB_DESC_BCDDEVICE
  42. hex "bcdDevice"
  43. default 0x0100
  44. depends on USB_ENABLED
  45. help
  46. Version of the firmware of the USB device
  47. config USB_DESC_MANUFACTURER_STRING
  48. string "Manufacturer"
  49. default "Espressif Systems"
  50. depends on USB_ENABLED
  51. help
  52. Name of the manufacturer of the USB device
  53. config USB_DESC_PRODUCT_STRING
  54. string "Product"
  55. default "Espressif Device"
  56. depends on USB_ENABLED
  57. help
  58. Name of the USB device
  59. config USB_DESC_SERIAL_STRING
  60. string "Serial string"
  61. default "123456"
  62. depends on USB_ENABLED
  63. help
  64. Specify serial number of the USB device
  65. endmenu
  66. endmenu