Skip to content

Commit 0830fee

Browse files
committed
[Telink] Fix commisioning issue due to missed MbedTLS module
TODO: fix compilation warnings
1 parent c5d1fbb commit 0830fee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/platform/telink/common.cmake

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ if(${ZEPHYR_VERSION_STRING} MATCHES "^3\\.3")
2323
file(WRITE ${ZEPHYR_VERSION_OVERLAY_FILE} "CONFIG_ZEPHYR_VERSION_3_3=y\n")
2424

2525
# Add required MbedTLS defines for Zephyr 3.3
26+
include(${CHIP_ROOT}/config/common/cmake/chip_gn_args.cmake)
27+
matter_add_flags(-DMBEDTLS_HKDF_C=1)
28+
matter_add_flags(-DMBEDTLS_X509_CREATE_C=1)
29+
matter_add_flags(-DMBEDTLS_X509_CSR_WRITE_C=1)
2630
add_definitions(-DMBEDTLS_HKDF_C -DMBEDTLS_X509_CREATE_C -DMBEDTLS_X509_CSR_WRITE_C)
2731
endif()
2832

0 commit comments

Comments
 (0)