[riot-notifications] [RIOT-OS/RIOT] make/ztimer: auto-pull timer backend deps for ztimer_msec (#16334)

Hauke Petersen notifications at github.com
Thu Apr 15 12:09:22 CEST 2021


>  But couldn't we select and ztimer_periph_rtt and ztimer_periph_timer if ZTIMER_MSEC is used and let auto_init.c select one of them?

Unfortunately, this would (at least in the current state) defeat the purpose: that would lead to the inclusion, and initialization, of the `periph_timer`. And that is exactly what should be prevented for the case that ZTIMER_MSEC is usint `periph_rtt` as backend...

-- 
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/16334#issuecomment-820305059
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210415/17903766/attachment.htm>


More information about the notifications mailing list