:orphan: .. title:: CONFIG_MBEDTLS_ENABLE_HEAP .. kconfig:: CONFIG_MBEDTLS_ENABLE_HEAP CONFIG_MBEDTLS_ENABLE_HEAP ########################## *Enable global heap for mbed TLS* *Enable global heap for mbed TLS* *Enable global heap for mbed TLS* Type: ``bool`` Help ==== .. code-block:: none This option enables the mbedtls to use the heap. This setting must be global so that various applications and libraries in Zephyr do not try to do this themselves as there can be only one heap defined in mbedtls. If this is enabled, then the Zephyr will, during the device startup, initialize the heap automatically. Help ==== .. code-block:: none This option enables the mbedtls to use the heap. This setting must be global so that various applications and libraries in Zephyr do not try to do this themselves as there can be only one heap defined in mbedtls. If this is enabled, then the Zephyr will, during the device startup, initialize the heap automatically. Help ==== .. code-block:: none This option enables the mbedtls to use the heap. This setting must be global so that various applications and libraries in Zephyr do not try to do this themselves as there can be only one heap defined in mbedtls. If this is enabled, then the Zephyr will, during the device startup, initialize the heap automatically. Direct dependencies =================== \ :kconfig:`TFM_MINIMAL ` || \ :kconfig:`MBEDTLS ` || \ :kconfig:`NORDIC_SECURITY_BACKEND ` || (\ :kconfig:`MBEDTLS ` && 0) *(Includes any dependencies from ifs and menus.)* Defaults ======== - n - y if \ :kconfig:`BUILD_WITH_TFM ` Symbols that select this symbol =============================== - \ :kconfig:`OPENTHREAD_NRF_SECURITY ` - \ :kconfig:`CRYPTO_MBEDTLS_SHIM ` - \ :kconfig:`UPDATEHUB_DTLS ` - \ :kconfig:`OPENTHREAD_MBEDTLS ` Kconfig definitions =================== At ``/modules/trusted-firmware-m/Kconfig.mbedtls_minimal.defconfig:15`` Included via ``/Kconfig:8`` → ``/Kconfig.zephyr:31`` → ``/modules/Kconfig:6`` → ``/doc/_build/kconfig/Kconfig.modules:14`` → ``/modules/trusted-firmware-m/Kconfig:39`` Menu path: (Top) → Modules → trusted-firmware-m (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/tee/tfm) .. code-block:: kconfig config MBEDTLS_ENABLE_HEAP bool default n depends on TFM_MINIMAL ---- At ``/modules/mbedtls/Kconfig:129`` Included via ``/Kconfig:8`` → ``/Kconfig.zephyr:31`` → ``/modules/Kconfig:6`` → ``/doc/_build/kconfig/Kconfig.modules:68`` Menu path: (Top) → Modules → mbedtls (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/crypto/mbedtls) → mbed TLS Support .. code-block:: kconfig config MBEDTLS_ENABLE_HEAP bool "Enable global heap for mbed TLS" depends on MBEDTLS help This option enables the mbedtls to use the heap. This setting must be global so that various applications and libraries in Zephyr do not try to do this themselves as there can be only one heap defined in mbedtls. If this is enabled, then the Zephyr will, during the device startup, initialize the heap automatically. ---- At ``/nrf_security/Kconfig:101`` Included via ``/Kconfig:8`` → ``/Kconfig.zephyr:31`` → ``/modules/Kconfig:6`` → ``/doc/_build/kconfig/Kconfig.modules:86`` → ``/Kconfig.nrfxlib:13`` Menu path: (Top) → Modules → nrfxlib (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib) → Nordic nrfxlib → Nordic Security → Use Nordic provided security backend → mbed TLS memory configuration .. code-block:: kconfig config MBEDTLS_ENABLE_HEAP bool "Enable global heap for mbed TLS" default y if BUILD_WITH_TFM depends on NORDIC_SECURITY_BACKEND help This option enables the mbedtls to use the heap. This setting must be global so that various applications and libraries in Zephyr do not try to do this themselves as there can be only one heap defined in mbedtls. If this is enabled, then the Zephyr will, during the device startup, initialize the heap automatically. ---- At ``/modules/mbedtls/Kconfig:129`` Included via ``/Kconfig:8`` → ``/Kconfig.zephyr:31`` → ``/modules/Kconfig:74`` Menu path: (Top) → Modules → mbed TLS Support .. code-block:: kconfig config MBEDTLS_ENABLE_HEAP bool "Enable global heap for mbed TLS" depends on MBEDTLS && 0 help This option enables the mbedtls to use the heap. This setting must be global so that various applications and libraries in Zephyr do not try to do this themselves as there can be only one heap defined in mbedtls. If this is enabled, then the Zephyr will, during the device startup, initialize the heap automatically. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*