[riot-notifications] [RIOT-OS/RIOT] usbus: Initial simple auto init structure (#11075)
notifications at github.com
Mon Mar 18 23:05:29 CET 2019
With the move to usbdev devices as part of periph, I have to think a bit on how to rework the device setup itself. suggestions are welcome of course (@dylad @kaspar030).
Main requirement from `usbus` is that it needs the `usbdev` context on initialization.
One option is to move the `$usbdev_setup()` to the `periph_init()` of the cpu and add a getter to retrieve the context, something like `usbdev_get_context(unsigned num)` where `num` selects the usb peripheral number (many mid and high end STM32's and Kinetis MCU's have 2 USB interfaces).
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...
More information about the notifications