blob: a659979a4064ec381271f3404b0c4f985de4ac89 [file] [log] [blame]
# 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