mbedtls: Rename Mbed timing implementation
We get a linker warning with the recently added timing module
implementation for Mbed. This is because there is Mbed TLS also ships a
file called timing.c, which we are including in Mbed OS also. With CLI
1, we get an error about unique object files because of the similarly
named implementation files.

    Object file timing.o is not unique! It could be made from: mbed-os/connectivity/mbedtls/source/timing.c mbed-os/connectivity/mbedtls/platform/src/timing.cpp

Rename the Mbed timing module implementation to timing_mbed.cpp to avoid
this naming conflict.

Fixes: b8781e527bc1 ("mbedtls: Add an alt implementation of timing")

Fixes #14759
ls
1 parent aeaac0e commit 87d1992f4f8cf7d0c07997c9059ace448f479056
@Jaeden Amero Jaeden Amero authored on 10 Jun 2021
Showing 3 changed files
View
connectivity/mbedtls/CMakeLists.txt
View
connectivity/mbedtls/platform/src/timing.cpp 100644 → 0
View
connectivity/mbedtls/platform/src/timing_mbed.cpp 0 → 100644