This allows mass storage exposure of a littlefs file system, specifically one on the SPI NOR flash of the nrf52840dk_nrf52840. In combination with littlefs-fuse this allows a host system to examine and change the local storage of a Zephyr application. Note that it is critical that all parameters of the file system match between what Zephyr is using and what littlefs-fuse is using. Inconsistencies can produce confusing results where each system sees different content. The README has been updated with a detailed example. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
13 lines
307 B
Plaintext
13 lines
307 B
Plaintext
# Copyright (c) 2019 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config USB_DEVICE_PID
|
|
default USB_PID_MASS_SAMPLE
|
|
|
|
config APP_WIPE_STORAGE
|
|
bool "Option to clear the flash area before mounting"
|
|
help
|
|
Use this to force an existing file system to be created.
|
|
|
|
source "Kconfig.zephyr"
|