cancel
Showing results for 
Search instead for 
Did you mean: 

md5.c file is not copy to my project directory when I am using mbedtls middleware.

XHan.1
Associate II

0693W00000HohuFQAR.png 

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.

3 REPLIES 3
XHan.1
Associate II

here is my .ioc file

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.

0693W00000HpfZvQAJ.pngIn 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.

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