Skip to main content
John Doe1
Associate III
Nov 15, 2018 12:02 PM UTC
Question

stm32 + cubemx + mbedtls error

I created a plain project using cubemx (v4.27.0) with lwip, mbedtls and freefrtos,. I just tried to compile a fresh, clean project (with no additional code) with no success:

linking...
Project\Project.axf: Error: L6218E: Undefined symbol time (referred from ssl_cache.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 1 error messages.
"Project\Project.axf" - 1 Error(s), 1 Warning(s).
Target not created.

This topic has been closed for replies.

3 replies

Amel NASRI
ST Technical Moderator
Nov 16, 2018 9:36 AM UTC

Hello @Community member​ ,

Could you please precise the device (or board) you selected?

Sharing a .ioc file will help us to reproduce the issue easily.

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
John Doe1
John Doe1Author
Associate III
Nov 19, 2018 3:25 PM UTC

Sent sample project via private message.

Cyril FENARD
ST Employee
Nov 19, 2018 11:29 AM UTC

Hi @Community member​ ,

You can deselect MBEDTLS_HAVE_TIME, MBEDTLS_HAVE_TIME_DATE in Feature support of MBEDTLS Configuration in your STM32CubeMX project.

Be aware that the feature is lost, especially for verifying the validity period of X.509 certificates.

Hopping it unblocks the situation.

Regards.

Cyril.