Skip to content

Commit 3dc31ae

Browse files
rghaddabrlubos
authored andcommitted
storage: zms: remove unneeded KCONFIG options
with the new ZMS backend for settings some Kconfig options are not needed and others must be enabled. Signed-off-by: Riadh Ghaddab <rghaddab@baylibre.com> (cherry picked from commit 794da99)
1 parent c1126d8 commit 3dc31ae

File tree

52 files changed

+32
-139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+32
-139
lines changed

applications/matter_bridge/boards/nrf54h20dk_nrf54h20_cpuapp.conf

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ CONFIG_SSF_PSA_CRYPTO_SERVICE_ENABLED=y
1616
# Disable Data Cache
1717
CONFIG_DCACHE=n
1818

19-
# Set the ZMS sector count to match the settings partition size that is 32 kB for this application.
20-
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
2119
# Workaround required as Zephyr L2 implies usage of NVS backend for settings.
2220
# It should be removed once the proper fix will be applied in Zephyr.
2321
CONFIG_NVS=n

doc/nrf/app_dev/device_guides/nrf54l/zms.rst

-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ Additionally, you can optimize the application performance using caching mechani
3838

3939
a. Enable the :kconfig:option:`CONFIG_ZMS_LOOKUP_CACHE` Kconfig option.
4040
#. Set the lookup cache size in :kconfig:option:`CONFIG_ZMS_LOOKUP_CACHE_SIZE` depending on your application needs.
41-
#. Ensure the lookup cache is configured to support the Setting subsystem by enabling the :kconfig:option:`CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS` Kconfig option.
42-
43-
#. To further enhance the performance, enable the :kconfig:option:`CONFIG_SETTINGS_ZMS_NAME_CACHE` Kconfig option, and configure its size with :kconfig:option:`CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE` according to your application needs.
4441

4542
Optimizing ZMS in your application
4643
**********************************

samples/bluetooth/mesh/ble_peripheral_lbs_coex/boards/nrf54l15dk_nrf54l05_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/ble_peripheral_lbs_coex/boards/nrf54l15dk_nrf54l10_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/ble_peripheral_lbs_coex/boards/nrf54l15dk_nrf54l15_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/chat/boards/nrf54l15dk_nrf54l05_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/chat/boards/nrf54l15dk_nrf54l10_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/chat/boards/nrf54l15dk_nrf54l15_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/dfu/distributor/boards/nrf54l15dk_nrf54l10_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/dfu/distributor/boards/nrf54l15dk_nrf54l15_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/dfu/target/boards/nrf54l15dk_nrf54l10_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/dfu/target/boards/nrf54l15dk_nrf54l15_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/light/boards/nrf54l15dk_nrf54l05_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ CONFIG_NVS=n
1212
CONFIG_NVS_LOOKUP_CACHE=n
1313
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1414
CONFIG_ZMS=y
15+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1516
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1617
CONFIG_ZMS_LOOKUP_CACHE=y
1718
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
19-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
20-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/light/boards/nrf54l15dk_nrf54l10_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ CONFIG_NVS=n
1212
CONFIG_NVS_LOOKUP_CACHE=n
1313
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1414
CONFIG_ZMS=y
15+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1516
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1617
CONFIG_ZMS_LOOKUP_CACHE=y
1718
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
19-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
20-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/light/boards/nrf54l15dk_nrf54l15_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ CONFIG_NVS=n
1212
CONFIG_NVS_LOOKUP_CACHE=n
1313
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1414
CONFIG_ZMS=y
15+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1516
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1617
CONFIG_ZMS_LOOKUP_CACHE=y
1718
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
19-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
20-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/light_ctrl/boards/nrf54l15dk_nrf54l05_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/light_ctrl/boards/nrf54l15dk_nrf54l10_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/light_ctrl/boards/nrf54l15dk_nrf54l15_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/light_dimmer/boards/nrf54l15dk_nrf54l05_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/light_dimmer/boards/nrf54l15dk_nrf54l10_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/light_dimmer/boards/nrf54l15dk_nrf54l15_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/light_switch/boards/nrf54l15dk_nrf54l05_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/light_switch/boards/nrf54l15dk_nrf54l10_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/light_switch/boards/nrf54l15dk_nrf54l15_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/sensor_client/boards/nrf54l15dk_nrf54l05_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/sensor_client/boards/nrf54l15dk_nrf54l10_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/sensor_client/boards/nrf54l15dk_nrf54l15_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/sensor_server/boards/nrf54l15dk_nrf54l05_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/sensor_server/boards/nrf54l15dk_nrf54l10_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/sensor_server/boards/nrf54l15dk_nrf54l15_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/silvair_enocean/boards/nrf54l15dk_nrf54l05_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/silvair_enocean/boards/nrf54l15dk_nrf54l10_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/bluetooth/mesh/silvair_enocean/boards/nrf54l15dk_nrf54l15_cpuapp.conf

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ CONFIG_NVS=n
1111
CONFIG_NVS_LOOKUP_CACHE=n
1212
CONFIG_SETTINGS_NVS_NAME_CACHE=n
1313
CONFIG_ZMS=y
14+
CONFIG_SETTINGS_ZMS_CUSTOM_SECTOR_COUNT=y
1415
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=8
1516
CONFIG_ZMS_LOOKUP_CACHE=y
1617
CONFIG_ZMS_LOOKUP_CACHE_SIZE=512
17-
CONFIG_SETTINGS_ZMS_NAME_CACHE=y
18-
CONFIG_SETTINGS_ZMS_NAME_CACHE_SIZE=512
19-
CONFIG_ZMS_LOOKUP_CACHE_FOR_SETTINGS=y

samples/matter/light_bulb/boards/nrf54l15dk_nrf54l15_cpuapp.conf

-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ CONFIG_BT_LL_SOFTDEVICE_MULTIROLE=y
1111
CONFIG_CHIP_MALLOC_SYS_HEAP_SIZE=10240
1212
CONFIG_MPSL_WORK_STACK_SIZE=2048
1313

14-
# Set the ZMS sector count to match the settings partition size that is 40 kB for this application.
15-
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=10
16-
1714
# Workaround required as Zephyr L2 implies usage of NVS backend for settings.
1815
# It should be removed once the proper fix will be applied in Zephyr.
1916
CONFIG_NVS=n

samples/matter/light_bulb/boards/nrf54l15dk_nrf54l15_cpuapp_ns.conf

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ CONFIG_CHIP_NFC_COMMISSIONING=n
1717
CONFIG_CHIP_MALLOC_SYS_HEAP_SIZE=10240
1818
CONFIG_MPSL_WORK_STACK_SIZE=2048
1919

20-
# Set the ZMS sector count to match the settings partition size that is 40 kB for this application.
21-
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=10
2220
# Workaround required as Zephyr L2 implies usage of NVS backend for settings.
2321
# It should be removed once the proper fix will be applied in Zephyr.
2422
CONFIG_NVS=n

samples/matter/light_switch/boards/nrf54l15dk_nrf54l15_cpuapp.conf

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ CONFIG_BT_LL_SOFTDEVICE_MULTIROLE=y
1111
CONFIG_CHIP_MALLOC_SYS_HEAP_SIZE=10240
1212
CONFIG_MPSL_WORK_STACK_SIZE=2048
1313

14-
# Set the ZMS sector count to match the settings partition size that is 40 kB for this application.
15-
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=10
1614
# Workaround required as Zephyr L2 implies usage of NVS backend for settings.
1715
# It should be removed once the proper fix will be applied in Zephyr.
1816
CONFIG_NVS=n

samples/matter/light_switch/boards/nrf54l15dk_nrf54l15_cpuapp_ns.conf

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ CONFIG_CHIP_NFC_COMMISSIONING=n
1717
CONFIG_CHIP_MALLOC_SYS_HEAP_SIZE=10240
1818
CONFIG_MPSL_WORK_STACK_SIZE=2048
1919

20-
# Set the ZMS sector count to match the settings partition size that is 40 kB for this application.
21-
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=10
2220
# Workaround required as Zephyr L2 implies usage of NVS backend for settings.
2321
# It should be removed once the proper fix will be applied in Zephyr.
2422
CONFIG_NVS=n

0 commit comments

Comments
 (0)