Skip to content

Commit 5c94c89

Browse files
committed
[nrf fromtree] samples: settings: Enable NVS backend on mimxrt1020_evk board
The tests for settings will not work properly with just provided config file for mimxrt1020: west build -p always -b mimxrt1020_evk samples/subsys/settings as there the settings_save_one() would return -2 (-ENOENT) as by default the CONFIG_SETTINGS_NONE is defined for mimxrt1020 configuration. For proper operation (i.e. to have a memory medium to store settings values) the NVS backend needs to be enabled. Signed-off-by: Lukasz Majewski <[email protected]> Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 8719aba)
1 parent c05519f commit 5c94c89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_NVS=y
2+
CONFIG_SETTINGS_NVS=y

0 commit comments

Comments
 (0)