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