[riot-notifications] [RIOT-OS/RIOT] sam0_common: make RTT implementation common across all sam0 MCUs (#11318)

benpicco notifications at github.com
Sun Mar 31 15:22:14 CEST 2019


### Contribution description

The currently supported SAM0 MCUs (samd21, saml21, saml1x) share the same RTC peripheral, yet each of them carries it's own copy of the RTT driver.

Unify the drivers and move them to sam0_common.

### Testing procedure

Only tested it on samr21-xpro with the `periph_rtt` test.


### Issues/PRs references

#11305 will also use this implementation.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11318

-- Commit Summary --

  * sam0_common: make RTT implementation common across all sam0 MCUs

-- File Changes --

    R cpu/sam0_common/periph/rtt.c (87)
    D cpu/samd21/periph/rtt.c (210)
    D cpu/saml21/periph/rtt.c (147)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11318.patch
https://github.com/RIOT-OS/RIOT/pull/11318.diff

-- 
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/11318
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190331/47bcf2fb/attachment.html>


More information about the notifications mailing list