1# Non-volatile Storage NVS 2 3# Copyright (c) 2018 Laczen 4# SPDX-License-Identifier: Apache-2.0 5 6config NVS 7 bool "Non-volatile Storage" 8 select CRC 9 help 10 Enable support of Non-volatile Storage. 11 12if NVS 13 14config NVS_LOOKUP_CACHE 15 bool "Non-volatile Storage lookup cache" 16 help 17 Enable Non-volatile Storage cache, used to reduce the NVS data lookup 18 time. Each cache entry holds an address of the most recent allocation 19 table entry (ATE) for all NVS IDs that fall into that cache position. 20 21config NVS_LOOKUP_CACHE_SIZE 22 int "Non-volatile Storage lookup cache size" 23 default 128 24 range 1 65536 25 depends on NVS_LOOKUP_CACHE 26 help 27 Number of entries in Non-volatile Storage lookup cache. 28 It is recommended that it be a power of 2. 29 30module = NVS 31module-str = nvs 32source "subsys/logging/Kconfig.template.log_config" 33 34endif # NVS 35