extmod/extmod.cmake: Fix hard-coded mbedtls config file path.

* The mbedtls config file path is hard-coded to the config file in
the stm32 port. Any port using this cmake fragment is not actually
using its own config file.
This commit is contained in:
iabdalkader 2022-06-08 16:36:06 +02:00 committed by Damien George
parent cf7d962cf3
commit 58b35c9abd
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ if(MICROPY_SSL_MBEDTLS)
)
target_compile_definitions(micropy_lib_mbedtls INTERFACE
MBEDTLS_CONFIG_FILE="ports/stm32/mbedtls/mbedtls_config.h"
MBEDTLS_CONFIG_FILE="${MICROPY_PORT_DIR}/mbedtls/mbedtls_config.h"
)
list(APPEND MICROPY_INC_CORE