From fb1c81299bef7b9f0e7cdcaa4f03cf9540fcc2b2 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Thu, 25 Aug 2022 09:39:47 -0700 Subject: [PATCH] [nrfconnect] Increase default NVS lookup cache size (#22037) (#22148) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apparently, we forgot to update the default NVS lookup cache size on nRF Connect examples. 512 entries in the cache is necessary to keep applications work efficiently even when there is a lot of settings written to the flash. Signed-off-by: Damian Krolik Signed-off-by: Damian Krolik Signed-off-by: Damian Krolik Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com> --- config/nrfconnect/chip-module/Kconfig.defaults | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/nrfconnect/chip-module/Kconfig.defaults b/config/nrfconnect/chip-module/Kconfig.defaults index 228ba22eac7117..c4ee871459c8f8 100644 --- a/config/nrfconnect/chip-module/Kconfig.defaults +++ b/config/nrfconnect/chip-module/Kconfig.defaults @@ -194,6 +194,10 @@ config NVS_LOOKUP_CACHE bool default y +config NVS_LOOKUP_CACHE_SIZE + int + default 512 + # Increase the default RX stack size config IEEE802154_NRF5_RX_STACK_SIZE int