diff options
| author | Dániel Buga <[email protected]> | 2024-12-06 13:23:06 +0100 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2024-12-06 13:23:06 +0100 |
| commit | 306099f9d522e941c5297d9335fd239b732bbf41 (patch) | |
| tree | 0674ae0e98e58fa883c8fef354c92a4bc0b1ca0b | |
| parent | 65d2dbcc3aedd241d337e17f1eb157d5927e7871 (diff) | |
Prepare embassy-usb-synopsys-otg 0.2.0
| -rw-r--r-- | embassy-stm32/Cargo.toml | 2 | ||||
| -rw-r--r-- | embassy-usb-synopsys-otg/CHANGELOG.md | 25 | ||||
| -rw-r--r-- | embassy-usb-synopsys-otg/Cargo.toml | 2 | ||||
| -rw-r--r-- | embassy-usb-synopsys-otg/README.md | 4 |
4 files changed, 29 insertions, 4 deletions
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index 09b7f805a..607e90739 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml | |||
| @@ -50,7 +50,7 @@ embassy-hal-internal = {version = "0.2.0", path = "../embassy-hal-internal", fea | |||
| 50 | embassy-embedded-hal = {version = "0.2.0", path = "../embassy-embedded-hal", default-features = false } | 50 | embassy-embedded-hal = {version = "0.2.0", path = "../embassy-embedded-hal", default-features = false } |
| 51 | embassy-net-driver = { version = "0.2.0", path = "../embassy-net-driver" } | 51 | embassy-net-driver = { version = "0.2.0", path = "../embassy-net-driver" } |
| 52 | embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver" } | 52 | embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver" } |
| 53 | embassy-usb-synopsys-otg = {version = "0.1.0", path = "../embassy-usb-synopsys-otg" } | 53 | embassy-usb-synopsys-otg = {version = "0.2.0", path = "../embassy-usb-synopsys-otg" } |
| 54 | embassy-executor = { version = "0.6.3", path = "../embassy-executor", optional = true } | 54 | embassy-executor = { version = "0.6.3", path = "../embassy-executor", optional = true } |
| 55 | 55 | ||
| 56 | embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] } | 56 | embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = ["unproven"] } |
diff --git a/embassy-usb-synopsys-otg/CHANGELOG.md b/embassy-usb-synopsys-otg/CHANGELOG.md new file mode 100644 index 000000000..293363d9a --- /dev/null +++ b/embassy-usb-synopsys-otg/CHANGELOG.md | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # Changelog for embassy-usb-synopsys-otg | ||
| 2 | |||
| 3 | All notable changes to this project will be documented in this file. | ||
| 4 | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
| 7 | |||
| 8 | ## Unreleased | ||
| 9 | |||
| 10 | ## 0.2.0 - 2024-12-06 | ||
| 11 | |||
| 12 | - Fix corruption in CONTROL OUT transfers (and remove `quirk_setup_late_cnak`) | ||
| 13 | - Fix build with `defmt` enabled | ||
| 14 | - Add USBPHYC clock configuration for H7RS series | ||
| 15 | - Add support for ISO endpoints | ||
| 16 | - Add support for a full-speed ULPI mode | ||
| 17 | - Add OTG core DMA address registers | ||
| 18 | - Ensure endpoint allocation fails when `endpoint_count < MAX_EP_COUNT`. | ||
| 19 | - New configuration option: `xcvrdly` (transceiver delay). | ||
| 20 | - `EpState` now implements `Send` and `Sync`. | ||
| 21 | - The default value of `vbus_detection` is now `false`. | ||
| 22 | |||
| 23 | ## 0.1.0 - 2024-04-30 | ||
| 24 | |||
| 25 | Initial release. | ||
diff --git a/embassy-usb-synopsys-otg/Cargo.toml b/embassy-usb-synopsys-otg/Cargo.toml index d621577bf..7a9143ef9 100644 --- a/embassy-usb-synopsys-otg/Cargo.toml +++ b/embassy-usb-synopsys-otg/Cargo.toml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | name = "embassy-usb-synopsys-otg" | 2 | name = "embassy-usb-synopsys-otg" |
| 3 | version = "0.1.0" | 3 | version = "0.2.0" |
| 4 | edition = "2021" | 4 | edition = "2021" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | description = "`embassy-usb-driver` implementation for Synopsys OTG USB controllers" | 6 | description = "`embassy-usb-driver` implementation for Synopsys OTG USB controllers" |
diff --git a/embassy-usb-synopsys-otg/README.md b/embassy-usb-synopsys-otg/README.md index 5354f07bf..ba3c8116a 100644 --- a/embassy-usb-synopsys-otg/README.md +++ b/embassy-usb-synopsys-otg/README.md | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # Embassy USB driver for the Synopsys USB OTG core | 1 | # Embassy USB driver for the Synopsys USB OTG core |
| 2 | 2 | ||
| 3 | This crate implements [`embassy-usb-driver`](https://crates.io/crates/embassy-usb-driver) for Synopsys USB OTG devices. | 3 | This crate implements [`embassy-usb-driver`](https://crates.io/crates/embassy-usb-driver) for Synopsys USB OTG devices. |
| 4 | 4 | ||
| 5 | It contains the "core" of the driver that is common across all chips using | 5 | It contains the "core" of the driver that is common across all chips using |
| 6 | the Synopsys OTG IP, but it doesn't contain chip-specific initialization such | 6 | the Synopsys OTG IP, but it doesn't contain chip-specific initialization such |
| @@ -12,5 +12,5 @@ List of HALs integrating this driver: | |||
| 12 | - [`embassy-stm32`](https://crates.io/crates/embassy-stm32), for STMicroelectronics STM32 chips. | 12 | - [`embassy-stm32`](https://crates.io/crates/embassy-stm32), for STMicroelectronics STM32 chips. |
| 13 | - [`esp-hal`](https://crates.io/crates/esp-hal), for Espressif ESP32 chips. | 13 | - [`esp-hal`](https://crates.io/crates/esp-hal), for Espressif ESP32 chips. |
| 14 | 14 | ||
| 15 | If you wish to integrate this crate into your device's HAL, you will need to add the | 15 | If you wish to integrate this crate into your device's HAL, you will need to add the |
| 16 | device-specific initialization. See the above crates for examples on how to do it. \ No newline at end of file | 16 | device-specific initialization. See the above crates for examples on how to do it. \ No newline at end of file |
