diff options
author | iabdalkader <i.abdalkader@gmail.com> | 2022-06-08 16:36:06 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-06-11 21:00:13 +1000 |
commit | 58b35c9abd3aee9b0a79ec69db778c7bad45aee2 (patch) | |
tree | e1628ca617a7908471580366df414189719a1ba1 | |
parent | cf7d962cf38db296d1ac419fc4d5302b64c59644 (diff) |
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.
-rw-r--r-- | extmod/extmod.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/extmod.cmake b/extmod/extmod.cmake index 862743c1e..551dec714 100644 --- a/extmod/extmod.cmake +++ b/extmod/extmod.cmake @@ -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 |