[riot-notifications] [RIOT-OS/RIOT] cpu/atmega_common: RTT and RTC support (#8842)

Marian Buschsieweke notifications at github.com
Tue Mar 5 12:50:08 CET 2019

Oh, I think I did cause the merge conflict here. Now all board periph configuration code resides in `boards/common/atmega/include/periph_conf_atmega_common.h` and the individual `periph_conf.h` just include this, while potentially overriding stuff of the common periph conf. I think this approach can be used for this PR as well.

I think the cleanest way would be to check in `periph_conf_atmega_common.h` if the `RTC_NUMOF` is not yet defined. If not defined, then define it to be `(1U)` and add the RTC config. And in the common `periph_conf.h` of the Arduino boards just add `#define RTC_NUMF (0U)` to disable the RTC for them.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190305/e5dcf2c1/attachment.html>

More information about the notifications mailing list