Prepare embassy-usb-synopsys-otg 0.2.0

This commit is contained in:
Dániel Buga 2024-12-06 13:23:06 +01:00
parent 65d2dbcc3a
commit 306099f9d5
No known key found for this signature in database
4 changed files with 29 additions and 4 deletions

View File

@ -50,7 +50,7 @@ embassy-hal-internal = {version = "0.2.0", path = "../embassy-hal-internal", fea
embassy-embedded-hal = {version = "0.2.0", path = "../embassy-embedded-hal", default-features = false }
embassy-net-driver = { version = "0.2.0", path = "../embassy-net-driver" }
embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver" }
embassy-usb-synopsys-otg = {version = "0.1.0", path = "../embassy-usb-synopsys-otg" }
embassy-usb-synopsys-otg = {version = "0.2.0", path = "../embassy-usb-synopsys-otg" }
embassy-executor = { version = "0.6.3", path = "../embassy-executor", optional = true }
embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] }

View File

@ -0,0 +1,25 @@
# Changelog for embassy-usb-synopsys-otg
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
## 0.2.0 - 2024-12-06
- Fix corruption in CONTROL OUT transfers (and remove `quirk_setup_late_cnak`)
- Fix build with `defmt` enabled
- Add USBPHYC clock configuration for H7RS series
- Add support for ISO endpoints
- Add support for a full-speed ULPI mode
- Add OTG core DMA address registers
- Ensure endpoint allocation fails when `endpoint_count < MAX_EP_COUNT`.
- New configuration option: `xcvrdly` (transceiver delay).
- `EpState` now implements `Send` and `Sync`.
- The default value of `vbus_detection` is now `false`.
## 0.1.0 - 2024-04-30
Initial release.

View File

@ -1,6 +1,6 @@
[package]
name = "embassy-usb-synopsys-otg"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "`embassy-usb-driver` implementation for Synopsys OTG USB controllers"

View File

@ -1,6 +1,6 @@
# Embassy USB driver for the Synopsys USB OTG core
This crate implements [`embassy-usb-driver`](https://crates.io/crates/embassy-usb-driver) for Synopsys USB OTG devices.
This crate implements [`embassy-usb-driver`](https://crates.io/crates/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
@ -12,5 +12,5 @@ List of HALs integrating this driver:
- [`embassy-stm32`](https://crates.io/crates/embassy-stm32), for STMicroelectronics STM32 chips.
- [`esp-hal`](https://crates.io/crates/esp-hal), for Espressif ESP32 chips.
If you wish to integrate this crate into your device's HAL, you will need to add the
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.