Kconfig.msc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # Copyright (c) 2016 Wind River Systems, Inc.
  2. # SPDX-License-Identifier: Apache-2.0
  3. menuconfig USB_MASS_STORAGE
  4. bool "USB Mass Storage Device Class support"
  5. select DISK_ACCESS
  6. help
  7. USB Mass Storage device class support
  8. if USB_MASS_STORAGE
  9. config MASS_STORAGE_DISK_NAME
  10. string "Mass storage disk or drive name"
  11. default "RAM"
  12. help
  13. Mass storage device disk or drive name
  14. config MASS_STORAGE_INQ_VENDOR_ID
  15. string "T10 assigned vendor ID for inquiry (must be 8 characters)"
  16. default "ZEPHYR "
  17. help
  18. Vendor ID used for enquiry requests.
  19. Spaces must be added to bring the string to 8 bytes.
  20. config MASS_STORAGE_INQ_PRODUCT_ID
  21. string "Product ID for inquiry (must be 16 characters)"
  22. default "ZEPHYR USB DISK "
  23. help
  24. Product ID used for enquiry requests.
  25. Spaces must be added to bring the string to 16 bytes.
  26. config MASS_STORAGE_INQ_REVISION
  27. string "Revision for inquiry (must be 4 characters)"
  28. default "0.01"
  29. help
  30. Revision used for enquiry requests.
  31. Spaces must be added to bring the string to 4 bytes.
  32. config MASS_STORAGE_BULK_EP_MPS
  33. int
  34. default 64
  35. range 8 64
  36. help
  37. Mass storage device class bulk endpoints size
  38. config MASS_STORAGE_STACK_SIZE
  39. int "Set stack size for mass storage thread"
  40. default 512
  41. help
  42. Stack size for mass storage disk operations thread
  43. module = USB_MASS_STORAGE
  44. module-str = usb mass storage
  45. source "subsys/logging/Kconfig.template.log_config"
  46. endif