Skip to content

Commit ae082cb

Browse files
juhaylinenrlubos
authored andcommitted
nrf_security: Disable Mbed TLS heap when building for TFM
Mbed TLS heap is not needed for TF-M use cases where legacy APIs are not used. Remove default enablement of MBEDTLS_ENABLE_HEAP when BUILD_WITH_TFM is set. Signed-off-by: Juha Ylinen <[email protected]>
1 parent 5ede0d6 commit ae082cb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

subsys/nrf_security/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ config MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE
8989

9090
config MBEDTLS_ENABLE_HEAP
9191
bool "Enable global heap for mbed TLS"
92-
default y if BUILD_WITH_TFM
9392
help
9493
This option enables the mbedtls to use the heap. This setting must
9594
be global so that various applications and libraries in Zephyr do not

0 commit comments

Comments
 (0)