1# Copyright (c) 2022 Nordic Semiconductor ASA
2#
3# SPDX-License-Identifier: Apache-2.0
4
5config USBD_MSC_CLASS
6	bool "USB Mass Storage Device class support [EXPERIMENTAL]"
7	select DISK_ACCESS
8	help
9	  USB Mass Storage device class support.
10
11if USBD_MSC_CLASS
12
13config USBD_MSC_STACK_SIZE
14	int "USB MSC thread stack size"
15	default 1024
16	help
17	  USB MSC thread stack size.
18
19config USBD_MSC_LUNS_PER_INSTANCE
20	int "Number of LUNs"
21	default 1
22	range 1 16
23	help
24	  Maximum number of Logical Units that can be registered per instance.
25
26config USBD_MSC_SCSI_BUFFER_SIZE
27	int "SCSI Buffer size"
28	default 512
29	help
30	  Buffer size must be able to hold at least one sector. All LUNs within
31	  single instance share the SCSI buffer.
32
33module = USBD_MSC
34module-str = usbd msc
35default-count = 1
36source "subsys/logging/Kconfig.template.log_config"
37
38rsource "Kconfig.template.instances_count"
39endif
40