1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
79df157727
sys: move rtc utility functions to their own module 2021-12-20 13:04:20 +01:00
Martine Lenders
873b71c3e9
tests/unittests/tests-rtc: do not use DST info for normalization
`rtc_tm_normalize` does not use it, so `mktime` should not either.
2021-04-13 14:37:19 +02:00
6fe7a47563 tests: remove obsolete msp430 blacklists 2020-08-05 14:32:58 +02:00
Benjamin Valentin
5b64ae4ef5 periph_common/rtc: add rtc_localtime()
Add function to convert a RTC timestamp (non-UNIX) to a time struct.
2020-03-03 11:01:02 +01:00
Benjamin Valentin
becff61e20 periph_common/rtc: add rtc_mktime()
Add a function to convert a time struct to an unsigned timestamp (non-UNIX).
2020-02-29 17:42:50 +01:00
Benjamin Valentin
24ae298115 unittests: add rtc_tm_compare() to unittest 2019-11-05 12:52:45 +01:00
Martine Lenders
117ff2f862 unittests: remove board blacklist, fix doc for MCU architectures 2019-10-15 09:48:04 +02:00
Benjamin Valentin
90a8a9666c unittests: add tests for rtc_tm_normalize() 2019-09-12 11:32:27 +02:00