1# Copyright (c) 2019-2020 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4menu "MSC sample options" 5 6config APP_WIPE_STORAGE 7 bool "Option to clear the flash area before mounting" 8 help 9 Use this to force an existing file system to be created. 10 11choice 12 prompt "Storage and file system type used by the application" 13 default APP_MSC_STORAGE_NONE 14 help 15 Specify the type of storage and file system. 16 17config APP_MSC_STORAGE_NONE 18 bool "Use RAM disk as block device" 19 20config APP_MSC_STORAGE_RAM 21 bool "Use RAM disk and FAT file system" 22 imply FILE_SYSTEM 23 imply FAT_FILESYSTEM_ELM 24 25config APP_MSC_STORAGE_FLASH_FATFS 26 bool "Use FLASH disk and FAT file system" 27 imply DISK_DRIVER_FLASH 28 imply FILE_SYSTEM 29 imply FAT_FILESYSTEM_ELM 30 31config APP_MSC_STORAGE_FLASH_LITTLEFS 32 bool "Use FLASH disk and LittleFS" 33 imply DISK_DRIVER_FLASH 34 imply FILE_SYSTEM 35 imply FILE_SYSTEM_LITTLEFS 36 37config APP_MSC_STORAGE_SDCARD 38 bool "Use SDHC and FAT file system" 39 imply DISK_DRIVER_SDMMC 40 imply FILE_SYSTEM 41 imply FAT_FILESYSTEM_ELM 42 43endchoice 44 45config MASS_STORAGE_DISK_NAME 46 default "NAND" if DISK_DRIVER_FLASH 47 default "RAM" if DISK_DRIVER_RAM 48 default "SD" if DISK_DRIVER_SDMMC 49 50if DISK_DRIVER_FLASH 51 52config FLASH_MAP 53 default y 54 55config FLASH_PAGE_LAYOUT 56 default y 57 58config FLASH_LOG_LEVEL 59 default 3 60 61if NORDIC_QSPI_NOR 62 63config NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE 64 default 4096 65 66endif # NORDIC_QSPI_NOR 67 68endif # DISK_DRIVER_FLASH 69 70endmenu 71 72# Source common USB sample options used to initialize new experimental USB 73# device stack. The scope of these options is limited to USB samples in project 74# tree, you cannot use them in your own application. 75source "samples/subsys/usb/common/Kconfig.sample_usbd" 76 77source "Kconfig.zephyr" 78