2021-12-15 05:33 AM
Version:
STM32CubeIDE
Version: 1.8.0
Build: 11526_20211125_0815 (UTC)
STM32Cube FW_F4 V1.26.2
Problem:
md5.c file is not copy to my project directory (Middlewares/Third_Party/mbedTLS/library), so link the target fail.
2021-12-15 05:51 AM
2021-12-23 07:50 AM
Hello @XHan.1 ,
First let me thank you for bringing this point to our attention.
You're right, md5.c file is missing even after defining MBEDTLS_MD5_C module through CubeMX interface. This is reported internally to be fixed. I'll keep you posted with the updates.
Sorry for any inconvenience that this may cause.
Meanwhile, you can choose Copy all used libraries into the project folder through Project Manager view> Code Generator tab.
In fact, Checking Copy all used libraries into the project folder option results a generated project containing all the source and header files of the selected middleware and drivers without taking account whether those drivers libraries are relevant or not to the user configuration in CubeMX.
Thus, md5.c file will be correctly generated in the project directory.
Thanks for your feedback.
Khouloud.
2021-12-24 01:03 AM
Hello @Khouloud OTHMAN
Thank you for your reply. The solution you provide has solved my problem temporarily. It's my pleasure to help you to improve the software quality. That will be beneficial to the entire community. I hope everyone can get help here.
Thanks for you help
Xhan