Skip to content

Commit

Permalink
[nrf noup] samples: bluetooth: mesh: Disable secure storage for real …
Browse files Browse the repository at this point in the history
…targets.

Mesh currently works with trusted storage on real targets. Until secure
storage is supported by default disable it.

Signed-off-by: Aleksandr Khromykh <[email protected]>
  • Loading branch information
alxelax committed Feb 25, 2025
1 parent 4e1ce1c commit ae55393
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 6 deletions.
6 changes: 6 additions & 0 deletions samples/bluetooth/mesh/boards/qemu_x86.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# nrf_security only supports Cortex-M via PSA crypto libraries.
# Enforcing usage of built-in Mbed TLS for native simulator.
CONFIG_NRF_SECURITY=n
CONFIG_MBEDTLS_ENABLE_HEAP=n
CONFIG_TRUSTED_STORAGE=n
CONFIG_SECURE_STORAGE=y
2 changes: 1 addition & 1 deletion samples/bluetooth/mesh/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_SECURE_STORAGE=y
# CONFIG_SECURE_STORAGE=y
CONFIG_HWINFO=y

CONFIG_BT=y
Expand Down
6 changes: 6 additions & 0 deletions samples/bluetooth/mesh_demo/boards/qemu_x86.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# nrf_security only supports Cortex-M via PSA crypto libraries.
# Enforcing usage of built-in Mbed TLS for native simulator.
CONFIG_NRF_SECURITY=n
CONFIG_MBEDTLS_ENABLE_HEAP=n
CONFIG_TRUSTED_STORAGE=n
CONFIG_SECURE_STORAGE=y
2 changes: 1 addition & 1 deletion samples/bluetooth/mesh_demo/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_BT_MESH_RPL_STORE_TIMEOUT=600
CONFIG_SECURE_STORAGE=y
# CONFIG_SECURE_STORAGE=y

# Limit the number of key slots in PSA Crypto core to reduce
# RAM footprint
Expand Down
6 changes: 6 additions & 0 deletions samples/bluetooth/mesh_provisioner/boards/qemu_x86.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# nrf_security only supports Cortex-M via PSA crypto libraries.
# Enforcing usage of built-in Mbed TLS for native simulator.
CONFIG_NRF_SECURITY=n
CONFIG_MBEDTLS_ENABLE_HEAP=n
CONFIG_TRUSTED_STORAGE=n
CONFIG_SECURE_STORAGE=y
2 changes: 1 addition & 1 deletion samples/bluetooth/mesh_provisioner/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_BT_MESH_RPL_STORE_TIMEOUT=600
CONFIG_SECURE_STORAGE=y
# CONFIG_SECURE_STORAGE=y

#CONFIG_BT_MESH_LOG_LEVEL_DBG=y
#CONFIG_BT_MESH_SETTINGS_LOG_LEVEL_DBG=y
Expand Down
2 changes: 1 addition & 1 deletion samples/boards/nordic/mesh/onoff-app/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_SECURE_STORAGE=y
# CONFIG_SECURE_STORAGE=y

CONFIG_BT_MESH_RPL_STORE_TIMEOUT=600

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_SECURE_STORAGE=y
# CONFIG_SECURE_STORAGE=y

CONFIG_BT_OBSERVER=y
CONFIG_BT_BROADCASTER=y
Expand Down
6 changes: 6 additions & 0 deletions tests/bluetooth/mesh_shell/boards/qemu_x86.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# nrf_security only supports Cortex-M via PSA crypto libraries.
# Enforcing usage of built-in Mbed TLS for native simulator.
CONFIG_NRF_SECURITY=n
CONFIG_MBEDTLS_ENABLE_HEAP=n
CONFIG_TRUSTED_STORAGE=n
CONFIG_SECURE_STORAGE=y
2 changes: 1 addition & 1 deletion tests/bluetooth/mesh_shell/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_SECURE_STORAGE=y
# CONFIG_SECURE_STORAGE=y

CONFIG_BT=y
CONFIG_BT_OBSERVER=y
Expand Down

0 comments on commit ae55393

Please sign in to comment.