Skip to content

Commit 7c7ae95

Browse files
ArekBalysNordicrlubos
authored andcommitted
samples: matter: Remove workaround after fixing nrf_security
We can use MBEDTLS_THREADING_C again since nrf_security threading issue has been fixed on nRF54L. Signed-off-by: Arkadiusz Balys <[email protected]> (cherry picked from commit d290578)
1 parent f39190b commit 7c7ae95

File tree

8 files changed

+0
-37
lines changed

8 files changed

+0
-37
lines changed

samples/matter/light_bulb/boards/nrf54l15dk_nrf54l15_cpuapp.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ CONFIG_MPSL_WORK_STACK_SIZE=2048
1414
# Set the ZMS sector count to match the settings partition size that is 40 kB for this application.
1515
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=10
1616

17-
# Workaround: Disable MBEDTLS threading, as in the Mbed TLS 3.6.x the mutexes were added, what sometimes
18-
# leads to bus faults when OpenThread calls psa_get_and_lock_key_slot on SRP service removal.
19-
# This brings back the behavior that was proven to work before.
20-
CONFIG_MBEDTLS_THREADING_C=n
2117
# Workaround required as Zephyr L2 implies usage of NVS backend for settings.
2218
# It should be removed once the proper fix will be applied in Zephyr.
2319
CONFIG_NVS=n

samples/matter/light_switch/boards/nrf54l15dk_nrf54l15_cpuapp.conf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,3 @@ CONFIG_NVS=n
1919

2020
# Low Power mode
2121
CONFIG_POWEROFF=y
22-
23-
# Workaround: Disable MBEDTLS threading, as in the Mbed TLS 3.6.x the mutexes were added, what sometimes
24-
# leads to bus faults when OpenThread calls psa_get_and_lock_key_slot on SRP service removal.
25-
# This brings back the behavior that was proven to work before.
26-
CONFIG_MBEDTLS_THREADING_C=n

samples/matter/lock/boards/nrf54l15dk_nrf54l15_cpuapp.conf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,3 @@ CONFIG_NVS=n
1919

2020
# Low Power mode
2121
CONFIG_POWEROFF=y
22-
23-
# Workaround: Disable MBEDTLS threading, as in the Mbed TLS 3.6.x the mutexes were added, what sometimes
24-
# leads to bus faults when OpenThread calls psa_get_and_lock_key_slot on SRP service removal.
25-
# This brings back the behavior that was proven to work before.
26-
CONFIG_MBEDTLS_THREADING_C=n

samples/matter/smoke_co_alarm/boards/nrf54l15dk_nrf54l15_cpuapp.conf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,3 @@ CONFIG_NVS=n
1919

2020
# Low Power mode
2121
CONFIG_POWEROFF=y
22-
23-
# Workaround: Disable MBEDTLS threading, as in the Mbed TLS 3.6.x the mutexes were added, what sometimes
24-
# leads to bus faults when OpenThread calls psa_get_and_lock_key_slot on SRP service removal.
25-
# This brings back the behavior that was proven to work before.
26-
CONFIG_MBEDTLS_THREADING_C=n

samples/matter/template/boards/nrf54l15dk_nrf54l15_cpuapp.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ CONFIG_MPSL_WORK_STACK_SIZE=2048
1414
# Set the ZMS sector count to match the settings partition size that is 40 kB for this application.
1515
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=10
1616

17-
# Workaround: Disable MBEDTLS threading, as in the Mbed TLS 3.6.x the mutexes were added, what sometimes
18-
# leads to bus faults when OpenThread calls psa_get_and_lock_key_slot on SRP service removal.
19-
# This brings back the behavior that was proven to work before.
20-
CONFIG_MBEDTLS_THREADING_C=n
2117
# Workaround required as Zephyr L2 implies usage of NVS backend for settings.
2218
# It should be removed once the proper fix will be applied in Zephyr.
2319
CONFIG_NVS=n

samples/matter/template/boards/nrf54l15dk_nrf54l15_cpuapp_internal.conf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,3 @@ CONFIG_NCS_SAMPLE_MATTER_WATCHDOG=y
5252
# Enable LTO
5353
CONFIG_LTO=y
5454
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
55-
56-
# Workaround: Disable MBEDTLS threading, as in the Mbed TLS 3.6.x the mutexes were added, what sometimes
57-
# leads to bus faults when OpenThread calls psa_get_and_lock_key_slot on SRP service removal.
58-
# This brings back the behavior that was proven to work before.
59-
CONFIG_MBEDTLS_THREADING_C=n

samples/matter/thermostat/boards/nrf54l15dk_nrf54l15_cpuapp.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ CONFIG_MPSL_WORK_STACK_SIZE=2048
1414
# Set the ZMS sector count to match the settings partition size that is 40 kB for this application.
1515
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=10
1616

17-
# Workaround: Disable MBEDTLS threading, as in the Mbed TLS 3.6.x the mutexes were added, what sometimes
18-
# leads to bus faults when OpenThread calls psa_get_and_lock_key_slot on SRP service removal.
19-
# This brings back the behavior that was proven to work before.
20-
CONFIG_MBEDTLS_THREADING_C=n
2117
# Workaround required as Zephyr L2 implies usage of NVS backend for settings.
2218
# It should be removed once the proper fix will be applied in Zephyr.
2319
CONFIG_NVS=n

samples/matter/window_covering/boards/nrf54l15dk_nrf54l15_cpuapp.conf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,3 @@ CONFIG_NVS=n
1919

2020
# Low Power mode
2121
CONFIG_POWEROFF=y
22-
23-
# Workaround: Disable MBEDTLS threading, as in the Mbed TLS 3.6.x the mutexes were added, what sometimes
24-
# leads to bus faults when OpenThread calls psa_get_and_lock_key_slot on SRP service removal.
25-
# This brings back the behavior that was proven to work before.
26-
CONFIG_MBEDTLS_THREADING_C=n

0 commit comments

Comments
 (0)