[riot-notifications] [RIOT-OS/RIOT] [WIP] sam0_common: Add USB peripheral driver (#10915)

Koen Zandberg notifications at github.com
Thu Jan 31 22:56:19 CET 2019


### Contribution description

This PR adds a USB peripheral driver for the sam0 device class. The driver is much WIP as some details still have to be thought out.

### Testing procedure

Nothing yet, a follow-up is required to actually initialize the usb device.

### Issues/PRs references

depends on #9830
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * usb: Add defines for USB peripheral devices
  * usbopt: Add usb control operation enum
  * usbdev: Introduce a common API for USB peripherals
  * fixup! usbdev: Introduce a common API for USB peripherals
  * fixup! usbopt: Add usb control operation enum
  * fixup! usbdev: Introduce a common API for USB peripherals
  * usbdev: add configurables for usb device drivers
  * fixup! usbopt: Add usb control operation enum
  * fixup! fixup! usbdev: Introduce a common API for USB peripherals
  * sam0_common: Add USB peripheral driver
  * samr21-xpro: Enable USB driver when required

-- File Changes --

    M boards/samr21-xpro/Makefile.dep (4)
    M cpu/sam0_common/Makefile (4)
    A cpu/sam0_common/include/sam_usb.h (64)
    A cpu/sam0_common/usb/Makefile (3)
    A cpu/sam0_common/usb/usb.c (679)
    A drivers/include/usb/usbdev.h (337)
    M makefiles/pseudomodules.inc.mk (1)
    A sys/include/usb.h (149)
    A sys/include/usb/usbopt.h (115)

-- Patch Links --

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


More information about the notifications mailing list