Skip to content

Commit 161f758

Browse files
etienne-lmsnashif
authored andcommitted
modules: mbedtls: Clarify MBEDTLS_ENABLE_HEAP config
Explicit in MBEDTLS_ENABLE_HEAP config symbol description that it relates to providing Mbed TLS library a dedicated heap instead of the system default heap. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
1 parent ab5b09a commit 161f758

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

modules/mbedtls/Kconfig.tf-psa-crypto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,14 @@ config MBEDTLS_ENABLE_HEAP
126126
bool "Global heap for mbed TLS"
127127
select MBEDTLS_MEMORY_BUFFER_ALLOC_C
128128
help
129-
This option enables the mbedtls to use the heap. This setting must
129+
This option enables the mbedtls to use a dedicated heap. This setting must
130130
be global so that various applications and libraries in Zephyr do not
131131
try to do this themselves as there can be only one heap defined
132132
in mbedtls. If this is enabled, and MBEDTLS_INIT is enabled then the
133133
Zephyr will, during the device startup, initialize the heap automatically.
134134

135+
When disabled, mbedtls uses the system default heap.
136+
135137
if MBEDTLS_ENABLE_HEAP
136138

137139
config MBEDTLS_HEAP_SIZE

0 commit comments

Comments
 (0)