You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to change the path of the mbedtls library,
you need to update the following line in the WIZnet-PICO-C/CMakeLists.txt file (line 80): set(MBEDTLS_DIR ${CMAKE_SOURCE_DIR}/libraries/mbedtls)
Replace it with your desired path.
Clone the specific version you need (replace 3.6.2 with your desired version): git clone --branch mbedtls-3.6.2 --depth 1 https://github.com/Mbed-TLS/mbedtls.git libraries/mbedtls
Navigate to the directory: cd libraries/mbedtls
Initialize and update the submodules: (all submodules referenced within the mbedtls repository are also downloaded.) git submodule update --init --recursive
If you encounter the following warning: #warning "Do not include mbedtls/check_config.h manually!"
please comment out the following line in the WIZnet-PICO-C/port/mbedtls/inc/ssl_config.h file at line 32: #include "mbedtls/check_config.h"
In the 3.6.2 version that I tested, the check_config.h file is automatically referenced. Therefore, I commented out the manual inclusion.
Please try running it, and if you have further questions, kindly let me know along with the complete execution log.
Hi @wiznet-grace ,
I am looking for guidance to understand how to properly add the mbedtls as submodule,
I am basically doing the following (without the mbedtls folder inside libraries)
git submodule add https://github.com/ARMmbed/mbedtls.git libraries/mbedtls
but when CMake tries to configure it has some missing files. After trying to do update a few times inside the mbedtls folders I cannot fixed.
Do you know how to add it correctly ?
Thank you,
Manuel
The text was updated successfully, but these errors were encountered: