1# Copyright (c) 2019-2020 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4config APP_WIPE_STORAGE 5 bool "Option to clear the flash area before mounting" 6 help 7 Use this to force an existing file system to be created. 8 9choice 10 prompt "Storage and file system type used by the application" 11 default APP_MSC_STORAGE_NONE 12 help 13 Specify the type of storage and file system. 14 15config APP_MSC_STORAGE_NONE 16 bool "Use RAM disk as block device" 17 imply DISK_DRIVER_RAM 18 19config APP_MSC_STORAGE_RAM 20 bool "Use RAM disk and FAT file system" 21 imply DISK_DRIVER_RAM 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 DISK_RAM_VOLUME_SIZE 46 default 32 if APP_MSC_STORAGE_NONE 47 48config MASS_STORAGE_DISK_NAME 49 default "NAND" if DISK_DRIVER_FLASH 50 default "RAM" if DISK_DRIVER_RAM 51 default "SD" if DISK_DRIVER_SDMMC 52 53if DISK_DRIVER_FLASH 54 55config FLASH_MAP 56 default y 57 58config FLASH_PAGE_LAYOUT 59 default y 60 61config FLASH_LOG_LEVEL 62 default 3 63 64if NORDIC_QSPI_NOR 65 66config NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE 67 default 4096 68 69endif # NORDIC_QSPI_NOR 70 71endif # DISK_DRIVER_FLASH 72 73source "Kconfig.zephyr" 74