zephyr/subsys/fs/nvs/Kconfig

31 lines
683 B
Plaintext

# Kconfig - Non-volatile Storage NVS
#
# Copyright (c) 2018 Laczen
#
# SPDX-License-Identifier: Apache-2.0
#
config NVS
bool "Non-volatile Storage"
select FS_FLASH_STORAGE_PARTITION
help
Enable support of Non-volatile Storage.
if NVS
module = NVS
module-str = nvs
source "subsys/logging/Kconfig.template.log_config"
config NVS_PROTECT_FLASH
bool "Non-volatile Storage extra flash protection"
help
Enable extra protection against unnecessary writes to flash. This
enables a extra read check, if data is not changed no write is
performed. If this check is already performed (e.g. no writes unless
data is changed) you can disable this operation.
endif # NVS