[riot-notifications] [RIOT-OS/RIOT] cpu/sam0: fix sercom gclk selection (#7606)

Dylan Laduranty notifications at github.com
Thu Sep 14 22:45:10 CEST 2017


This PR should fix #7605 
If we try to use other values than GCLK_CLKCTRL_GEN_GCLK0 for UART (in boards/include/periph_conf.h), compilation fails (this issue only applies on SAMD21 based board but I cannot reproduce it for SAML21).
Thanks @photonthunder for spotting this :) 
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * change gclk_src to uint32_t to prevent compilation error for samd21 family

-- File Changes --

    M cpu/sam0_common/include/periph_cpu_common.h (2)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/7606.patch
https://github.com/RIOT-OS/RIOT/pull/7606.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/7606
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20170914/75872326/attachment.html>


More information about the notifications mailing list