Skip to content

Commit 5495fab

Browse files
rghaddabrlubos
authored andcommitted
samples: bluetooth: change Kconfig for ZMS and NVS
Current configuration doesn't take into account the cases where we use external flash. Fix this by changing "select" to "imply" Signed-off-by: Riadh Ghaddab <[email protected]>
1 parent 9825f92 commit 5495fab

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

samples/bluetooth/central_and_peripheral_hr/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
source "Kconfig.zephyr"
88

9-
config SETTINGS
10-
default y
11-
129
config ZMS
1310
default y if SOC_FLASH_NRF_RRAM
1411

samples/bluetooth/central_and_peripheral_hr/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ CONFIG_BT_SETTINGS=y
3131
CONFIG_FLASH=y
3232
CONFIG_FLASH_PAGE_LAYOUT=y
3333
CONFIG_FLASH_MAP=y
34+
CONFIG_SETTINGS=y
3435

3536
CONFIG_HEAP_MEM_POOL_SIZE=1024
3637

samples/bluetooth/peripheral_hids_mouse/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ config BT_HIDS_SECURITY_ENABLED
1616
select FLASH
1717
select FLASH_PAGE_LAYOUT
1818
select FLASH_MAP
19-
select ZMS if SOC_FLASH_NRF_RRAM
20-
select NVS if !SOC_FLASH_NRF_RRAM
2119
select SETTINGS
20+
imply ZMS if SOC_FLASH_NRF_RRAM
21+
imply NVS if !SOC_FLASH_NRF_RRAM
2222
help
2323
"Enable BLE security for the HIDS service"
2424

0 commit comments

Comments
 (0)