Skip to content

Commit 9e62850

Browse files
author
Cruz Monrreal
authored
Merge pull request ARMmbed#4846 from andresag01/iotssl-1594-rtc-integration
Integrate mbed OS RTC with mbed TLS
2 parents d046bd8 + 94a0f13 commit 9e62850

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)