net: openthread: Allow a platform to select a Settings backend.

Removed implying of NVS by the NET_L2_OPENTHREAD, and from now a
platform can choose between ZMS and NVS as a settings backend.
NET_L2_OPENTHREAD still requires NVS or ZMS backend so the config
depends on one of those.

Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
This commit is contained in:
Arkadiusz Balys 2024-11-28 14:55:48 +01:00 committed by Benjamin Cabé
commit 6464ea88fe
10 changed files with 25 additions and 1 deletions

View file

@ -15,6 +15,9 @@ CONFIG_NET_CONFIG_PEER_IPV4_ADDR=""
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_MAIN_STACK_SIZE=2560
# Use NVS as settings backend
CONFIG_NVS=y
# Enable OpenThread shell
CONFIG_SHELL=y
CONFIG_OPENTHREAD_SHELL=y

View file

@ -403,6 +403,7 @@ CONFIG_SHELL_MQTT_INIT_LOG_LEVEL_ERR=y
#CONFIG_FLASH=y
#CONFIG_FLASH_PAGE_LAYOUT=y
#CONFIG_FLASH_HAS_PAGE_LAYOUT=y
#CONFIG_NVS=y
#CONFIG_CPP=y
#CONFIG_REBOOT=y