[riot-notifications] [RIOT-OS/RIOT] auto_init_usb: Extend with nrfusb initialization (#11076)

Koen Zandberg notifications at github.com
Wed Feb 27 22:28:59 CET 2019


### Contribution description

Extend the auto_init_usb from #11075 with support for the nrfusb module

### Testing procedure

The `main.c` example now also works for an nrf52840 based board.

### Issues/PRs references

depends on #11075 and #11074 

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

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

-- 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
  * fixup! fixup! fixup! usbdev: Introduce a common API for USB peripherals
  * drivers: Add usb device group
  * fixup! fixup! fixup! fixup! usbdev: Introduce a common API for USB peripherals
  * fixup! fixup! usbopt: Add usb control operation enum
  * fixup! usb: Add defines for USB peripheral devices
  * fixup! fixup! fixup! usbopt: Add usb control operation enum
  * fixup! fixup! fixup! fixup! fixup! usbdev: Introduce a common API for USB peripherals
  * fixup! fixup! fixup! fixup! fixup! fixup! usbdev: Introduce a common API for USB peripherals
  * fixup! fixup! usb: Add defines for USB peripheral devices
  * fixup! fixup! fixup! fixup! usbopt: Add usb control operation enum
  * sam0_common: Add USB peripheral driver
  * samr21-xpro: Enable USB driver when required
  * fixup! sam0_common: Add USB peripheral driver
  * fixup! fixup! sam0_common: Add USB peripheral driver
  * fixup! fixup! fixup! sam0_common: Add USB peripheral driver
  * fixup! fixup! fixup! fixup! sam0_common: Add USB peripheral driver
  * fixup! fixup! fixup! fixup! fixup! sam0_common: Add USB peripheral driver
  * fixup! fixup! fixup! fixup! fixup! fixup! sam0_common: Add USB peripheral driver
  * fixup! fixup! fixup! fixup! fixup! fixup! fixup! sam0_common: Add USB peripheral driver
  * fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! sam0_common: Add USB peripheral driver
  * usb: Add generic USB structs and functions
  * usbus: Initial work to a unified USB stack
  * USBUS: add minimal working example
  * fixup! USBUS: add minimal working example
  * fixup! usbus: Initial work to a unified USB stack
  * fixup! usb: Add generic USB structs and functions
  * fixup! fixup! usbus: Initial work to a unified USB stack
  * fixup! fixup! fixup! usbus: Initial work to a unified USB stack
  * fixup! fixup! USBUS: add minimal working example
  * fixup! fixup! fixup! fixup! usbus: Initial work to a unified USB stack
  * fixup! fixup! fixup! fixup! fixup! usbus: Initial work to a unified USB stack
  * fixup! fixup! fixup! fixup! fixup! fixup! usbus: Initial work to a unified USB stack
  * fixup! fixup! fixup! fixup! fixup! fixup! fixup! usbus: Initial work to a unified USB stack
  * fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! usbus: Initial work to a unified USB stack
  * fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! usbus: Initial work to a unified USB stack
  * fixup! fixup! usb: Add generic USB structs and functions
  * fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! usbus: Initial work to a unified USB stack
  * auto_init_usb: initial implementation
  * usbus_minimal: Adapt example to auto_init
  * nrf52: Add USB device peripheral driver
  * nrf52840dk: include USBD driver when required
  * nrf52840-mdk: include USBD driver when required
  * auto_init_usb: Add nrfusb support

-- File Changes --

    M Makefile.dep (5)
    M boards/nrf52840-mdk/Makefile.dep (4)
    M boards/nrf52840dk/Makefile.dep (4)
    M boards/samr21-xpro/Makefile.dep (4)
    M cpu/nrf52/Makefile (5)
    A cpu/nrf52/include/nrfusb.h (82)
    A cpu/nrf52/usb/Makefile (2)
    A cpu/nrf52/usb/usb.c (663)
    M cpu/sam0_common/Makefile (4)
    A cpu/sam0_common/include/sam_usb.h (71)
    A cpu/sam0_common/usb/Makefile (3)
    A cpu/sam0_common/usb/usb.c (695)
    M drivers/doc.txt (6)
    A drivers/include/usb/usbdev.h (560)
    A examples/usbus_minimal/Makefile (24)
    A examples/usbus_minimal/main.c (41)
    M makefiles/pseudomodules.inc.mk (1)
    M sys/Makefile (3)
    M sys/auto_init/Makefile (4)
    M sys/auto_init/auto_init.c (6)
    A sys/auto_init/usb/Makefile (3)
    A sys/auto_init/usb/auto_init_nrfusb.c (31)
    A sys/auto_init/usb/auto_init_sam0.c (31)
    A sys/auto_init/usb/auto_init_usb.c (59)
    A sys/include/usb.h (134)
    A sys/include/usb/descriptor.h (221)
    A sys/include/usb/usbopt.h (122)
    A sys/include/usb/usbus.h (515)
    A sys/include/usb/usbus/fmt.h (45)
    A sys/usb/usbus/Makefile (4)
    A sys/usb/usbus/usbus.c (318)
    A sys/usb/usbus/usbus_control.c (408)
    A sys/usb/usbus/usbus_fmt.c (242)

-- Patch Links --

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


More information about the notifications mailing list