embassy/embassy-usb-synopsys-otg
Dario Nieuwenhuis 7d65c5c4fa usb-synopsys-otg: ensure ep alloc fails when endpoint_count < MAX_EP_COUNT.
Before, it would alloc the endpoint fine and then panic later due to out of range.
This ensures it falis at ep alloc time, and with a panic message that says
what's the actual problem: "no free endpoints available".
2024-08-03 00:15:45 +02:00
..
src usb-synopsys-otg: ensure ep alloc fails when endpoint_count < MAX_EP_COUNT. 2024-08-03 00:15:45 +02:00
Cargo.toml Prepare for embassy-sync 0.6.0 release 2024-05-29 12:09:55 +02:00
README.md Release embassy-usb-synopsys-otg v0.1.0 2024-04-30 17:24:32 +02:00

Embassy USB driver for the Synopsys USB OTG core

This crate implements embassy-usb-driver for Synopsys USB OTG devices.

It contains the "core" of the driver that is common across all chips using the Synopsys OTG IP, but it doesn't contain chip-specific initialization such as clock setup and GPIO muxing. You most likely don't want to use this crate directly, but use it through a HAL that does the initialization for you.

List of HALs integrating this driver:

If you wish to integrate this crate into your device's HAL, you will need to add the device-specific initialization. See the above crates for examples on how to do it.