[riot-notifications] [RIOT-OS/RIOT] sys/ztimer: add ZTIMER_SEC (#15715)

Marian Buschsieweke notifications at github.com
Thu Jan 7 12:22:12 CET 2021


> So, please change to use RTT as preference (possibly a converted ZTIMER_MSEC), and only fall back to RTC if no RTT is available.

Hmm, if one pulls in `ztimer_periph_rtc`, IMO we really should use this for `ZTIMER_SEC`. So far there is no logic that every pulls in `ztimer_periph_rtc`, so it is up to the user to add this module. And for the reasons you provided against using the RTC, I don't think we should automatically pull it in.

Btw.: Shouldn't we (unrelated of this PR) use `FEATURES_OPTIONAL += periph_rtt` for `ztimer_msec` and `ztimer_sec` and automatically use `ztimer_periph_rtt` if `periph_rtt` is used?

-- 
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/15715#issuecomment-756056493
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210107/71e1bb2f/attachment.htm>


More information about the notifications mailing list