Skip to content

Commit c0e55a8

Browse files
committed
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 <[email protected]>
1 parent bcc4689 commit c0e55a8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

soc/nxp/rw/Kconfig.defconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,20 @@ endif # SHELL
5050

5151
endif # BT
5252

53+
if MBEDTLS_PSA_CRYPTO_C
54+
55+
config MBEDTLS_USER_CONFIG_ENABLE
56+
default y
57+
58+
config MBEDTLS_USER_CONFIG_FILE
59+
string "mbedTLS user config file"
60+
default "ble_els_pkc_mbedtls_psa_config.h" if BT
61+
default "wpa_supp_els_pkc_mbedtls_config.h" if WIFI_NM_WPA_SUPPLICANT
62+
help
63+
Automatically select mbedTLS config file based on enabled modules.
64+
65+
endif #MBEDTLS_PSA_CRYPTO_C
66+
5367
config NXP_MONOLITHIC_WIFI
5468
default y if WIFI
5569

0 commit comments

Comments
 (0)