Skip to main content
Associate
February 18, 2019
Question

Problem with mbedTLS compiling

  • February 18, 2019
  • 1 reply
  • 1441 views

Hi,

I'm trying to compile a Project using Nucleo-H743Zi board using FreeRTOS, LwIP and mbedTLS on keil uVision. I beleive that i'm pretty sure for my configurations, but when i build the project, i get an error " Undefined symbol time (referred from ssl_cache.o)".

The source file "ssl_cache.c" has a definition "#define mbedtls_time time" . I dont understand why the compiler dont detect this definition. Any who knows? Thanx in advance

This topic has been closed for replies.

1 reply

After Forever
Senior III
February 18, 2019

See https://tls.mbed.org/kb/how-to/how-do-i-port-mbed-tls-to-a-new-environment-OS and https://tls.mbed.org/kb/development/what-external-dependencies-does-mbedtls-rely-on

For a bare-metal configuration you might have to tweek some definitions like MBEDTLS_TIMING_C, MBEDTLS_HAVE_TIME_DATE, MBEDTLS_HAVE_TIME, etc.