[riot-notifications] [RIOT-OS/RIOT] drivers/periph_common: problems with starting RTC early (#8914)

Joakim NohlgÄrd notifications at github.com
Wed Apr 11 06:23:24 CEST 2018


I think this would benefit from a more dynamic approach to auto_init, which could be possible using xfa (under development in #7523). That said, I think your rtc driver design is flawed if you need xtimer for controlling the on CPU RTC. The periph drivers are the lowest level interface drivers toward the hardware, all other drivers depend on them for hardware interfaces, therefore it makes sense to initialize them first. Why do you need xtimer in your rtc driver? 

-- 
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/issues/8914#issuecomment-380322831
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180411/d63d0be6/attachment-0001.html>


More information about the notifications mailing list