Skip to content

Commit 58b35c9

Browse files
iabdalkaderdpgeorge
authored andcommitted
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.
1 parent cf7d962 commit 58b35c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extmod/extmod.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ if(MICROPY_SSL_MBEDTLS)
184184
)
185185

186186
target_compile_definitions(micropy_lib_mbedtls INTERFACE
187-
MBEDTLS_CONFIG_FILE="ports/stm32/mbedtls/mbedtls_config.h"
187+
MBEDTLS_CONFIG_FILE="${MICROPY_PORT_DIR}/mbedtls/mbedtls_config.h"
188188
)
189189

190190
list(APPEND MICROPY_INC_CORE

0 commit comments

Comments
 (0)