zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.48k stars 6.41k forks source link

drivers: usb: Port `usb_dc_rpi_pico` to `UDC API` #74666

Closed carlescufi closed 6 days ago

carlescufi commented 2 months ago

In order for the USB_DEVICE_STACK_NEXT to become the default, existing USB device drivers must be ported to it. See #42066 for additional details.

Note that if this driver is not ported by Zephyr 4.0.0, this hardware will not work with the default USB stack in 4.0.0.

Example ports:

Skeleton file to use as a starting point: https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/usb/udc/udc_skeleton.c

Documentation: https://docs.zephyrproject.org/latest/connectivity/usb/device_next/usb_device.html https://docs.zephyrproject.org/latest/connectivity/usb/device_next/api/index.html

jfischer-no commented 3 weeks ago

WIP