[riot-notifications] [RIOT-OS/RIOT] cpu: RTC implementation for STM32F1 (#11258)

Marian Buschsieweke notifications at github.com
Tue Apr 9 10:41:55 CEST 2019


Tested on the blue pill using `examples/default`

- Setting/getting current time works as expected
- Setting an alarm in the future does work, the callback is executed at the correct point in time (message `The alarm rang` is displayed)
- Setting an alarm in the future and clearing it before it is triggered does work, the callback is not executed
- Setting an alarm in the past does work. The documentation is not clear if this should be an error or not. (`rtc_set_alarm()` should return `-2` for an invalid time passed as `struct tm`, but not what to do on a valid date in the past.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11258#issuecomment-481159342
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190409/67457c64/attachment.html>


More information about the notifications mailing list