Skip to content

Commit f331133

Browse files
alxelaxrlubos
authored andcommitted
[nrf noup] samples: bluetooth: mesh: Disable secure storage for real 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]> (cherry picked from commit 754db49)
1 parent 609c118 commit f331133

File tree

10 files changed

+30
-6
lines changed

10 files changed

+30
-6
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# nrf_security only supports Cortex-M via PSA crypto libraries.
2+
# Enforcing usage of built-in Mbed TLS for native simulator.
3+
CONFIG_NRF_SECURITY=n
4+
CONFIG_MBEDTLS_ENABLE_HEAP=n
5+
CONFIG_TRUSTED_STORAGE=n
6+
CONFIG_SECURE_STORAGE=y

samples/bluetooth/mesh/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CONFIG_FLASH=y
55
CONFIG_FLASH_MAP=y
66
CONFIG_NVS=y
77
CONFIG_SETTINGS=y
8-
CONFIG_SECURE_STORAGE=y
8+
# CONFIG_SECURE_STORAGE=y
99
CONFIG_HWINFO=y
1010

1111
CONFIG_BT=y
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# nrf_security only supports Cortex-M via PSA crypto libraries.
2+
# Enforcing usage of built-in Mbed TLS for native simulator.
3+
CONFIG_NRF_SECURITY=n
4+
CONFIG_MBEDTLS_ENABLE_HEAP=n
5+
CONFIG_TRUSTED_STORAGE=n
6+
CONFIG_SECURE_STORAGE=y

samples/bluetooth/mesh_demo/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CONFIG_FLASH_MAP=y
3131
CONFIG_NVS=y
3232
CONFIG_SETTINGS=y
3333
CONFIG_BT_MESH_RPL_STORE_TIMEOUT=600
34-
CONFIG_SECURE_STORAGE=y
34+
# CONFIG_SECURE_STORAGE=y
3535

3636
# Limit the number of key slots in PSA Crypto core to reduce
3737
# RAM footprint
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# nrf_security only supports Cortex-M via PSA crypto libraries.
2+
# Enforcing usage of built-in Mbed TLS for native simulator.
3+
CONFIG_NRF_SECURITY=n
4+
CONFIG_MBEDTLS_ENABLE_HEAP=n
5+
CONFIG_TRUSTED_STORAGE=n
6+
CONFIG_SECURE_STORAGE=y

samples/bluetooth/mesh_provisioner/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ CONFIG_FLASH_MAP=y
4545
CONFIG_NVS=y
4646
CONFIG_SETTINGS=y
4747
CONFIG_BT_MESH_RPL_STORE_TIMEOUT=600
48-
CONFIG_SECURE_STORAGE=y
48+
# CONFIG_SECURE_STORAGE=y
4949

5050
#CONFIG_BT_MESH_LOG_LEVEL_DBG=y
5151
#CONFIG_BT_MESH_SETTINGS_LOG_LEVEL_DBG=y

samples/boards/nordic/mesh/onoff-app/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ CONFIG_FLASH=y
99
CONFIG_FLASH_MAP=y
1010
CONFIG_NVS=y
1111
CONFIG_SETTINGS=y
12-
CONFIG_SECURE_STORAGE=y
12+
# CONFIG_SECURE_STORAGE=y
1313

1414
CONFIG_BT_MESH_RPL_STORE_TIMEOUT=600
1515

samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CONFIG_FLASH=y
77
CONFIG_FLASH_MAP=y
88
CONFIG_NVS=y
99
CONFIG_SETTINGS=y
10-
CONFIG_SECURE_STORAGE=y
10+
# CONFIG_SECURE_STORAGE=y
1111

1212
CONFIG_BT_OBSERVER=y
1313
CONFIG_BT_BROADCASTER=y
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# nrf_security only supports Cortex-M via PSA crypto libraries.
2+
# Enforcing usage of built-in Mbed TLS for native simulator.
3+
CONFIG_NRF_SECURITY=n
4+
CONFIG_MBEDTLS_ENABLE_HEAP=n
5+
CONFIG_TRUSTED_STORAGE=n
6+
CONFIG_SECURE_STORAGE=y

tests/bluetooth/mesh_shell/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ CONFIG_FLASH=y
1414
CONFIG_FLASH_MAP=y
1515
CONFIG_NVS=y
1616
CONFIG_SETTINGS=y
17-
CONFIG_SECURE_STORAGE=y
17+
# CONFIG_SECURE_STORAGE=y
1818

1919
CONFIG_BT=y
2020
CONFIG_BT_OBSERVER=y

0 commit comments

Comments
 (0)