PrerequisitesΒΆ

The nrf_security module requires mbed TLS. It checks for the presence of mbed TLS in the following ways:

  • CMake uses west as part of the build process to locate mbed TLS.

  • ARM_MBEDTLS_PATH can be set to enforce a specific path to mbed TLS or in case west is not available

If west is not installed and mbed TLS is not located, CMake reports the following error:

west not installed, please provide ARM_MBEDTLS_PATH to CMake to support security libraries

If west is installed and mbed TLS is not located, CMake reports the following error:

Failed to find mbed TLS, cannot build security libraries