From c0e55a84177a40f813fbd595453b73defcd0cc52 Mon Sep 17 00:00:00 2001 From: Qiankun Li Date: Thu, 16 Oct 2025 20:07:17 +0800 Subject: [PATCH] soc: nxp: rw: add mbedTLS user config Add config option to automatically select mbedTLS config file based on enabled modules. Signed-off-by: Qiankun Li --- soc/nxp/rw/Kconfig.defconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/soc/nxp/rw/Kconfig.defconfig b/soc/nxp/rw/Kconfig.defconfig index b507ce216501e..2d917e224e16b 100644 --- a/soc/nxp/rw/Kconfig.defconfig +++ b/soc/nxp/rw/Kconfig.defconfig @@ -50,6 +50,20 @@ endif # SHELL endif # BT +if MBEDTLS_PSA_CRYPTO_C + +config MBEDTLS_USER_CONFIG_ENABLE + default y + +config MBEDTLS_USER_CONFIG_FILE + string "mbedTLS user config file" + default "ble_els_pkc_mbedtls_psa_config.h" if BT + default "wpa_supp_els_pkc_mbedtls_config.h" if WIFI_NM_WPA_SUPPLICANT + help + Automatically select mbedTLS config file based on enabled modules. + +endif #MBEDTLS_PSA_CRYPTO_C + config NXP_MONOLITHIC_WIFI default y if WIFI