[riot-notifications] [RIOT-OS/RIOT] cpu/sam0_common: merge GPIO driver (#7559)

Dylan Laduranty notifications at github.com
Sat Sep 2 21:24:37 CEST 2017

I pursuit my effort to merge samd21 & saml21 drivers together.
Both files were almost the same. 
I just move EXTI lines definitions to `cpu/sam0_common/include/periph_cpu_common.h` instead of `cpu/samx21/periph/gpio.c` because this is where they should belong IMHO. (Maybe I'm wrong ?)
What do you think ?
Tested on `saml21-xpro` with `tests/periph_gpio `(2 EXTI + 2 GPIO out). Everything was fine but I'll need help for testing on a samd21 based board.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * cpu/sam0: merge GPIO driver

-- File Changes --

    R cpu/sam0_common/periph/gpio.c (44)
    M cpu/samd21/include/periph_cpu.h (29)
    D cpu/samd21/periph/gpio.c (244)
    M cpu/saml21/include/periph_cpu.h (10)

-- Patch Links --


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/20170902/e5359d9c/attachment.html>

More information about the notifications mailing list