Skip to main content
John Doe1
Associate III
November 15, 2018
Question

stm32 + cubemx + mbedtls error

  • November 15, 2018
  • 2 replies
  • 879 views

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.

2 replies

Amel NASRI
Technical Moderator
November 16, 2018

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 Accept as Solution on the reply which solved your issue or answered your question.
John Doe1
John Doe1Author
Associate III
November 19, 2018

Sent sample project via private message.

Cyril FENARD
ST Employee
November 19, 2018

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.