cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with mbedTLS compiling

marfourna
Associate II

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

1 REPLY 1

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.