Skip to content

Commit d55f874

Browse files
author
Cruz Monrreal
authored
Merge pull request #4846 from andresag01/iotssl-1594-rtc-integration
Integrate mbed OS RTC with mbed TLS
2 parents c29fe89 + 5ced8e4 commit d55f874

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

features/mbedtls/platform/inc/platform_mbed.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
#define MBEDTLS_ENTROPY_HARDWARE_ALT
2222
#endif
2323

24+
#if defined(DEVICE_RTC)
25+
#define MBEDTLS_HAVE_TIME_DATE
26+
#endif
27+
2428
#if defined(MBEDTLS_CONFIG_HW_SUPPORT)
2529
#include "mbedtls_device.h"
2630
#endif

0 commit comments

Comments
 (0)