Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions embassy-usb-driver/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased - ReleaseDate

- Add `EndpointOut::read_data()` and `EndpointIn::write_data()` provided methods.
- Remove dependency on `embedded_io_async`

## 0.2.0 - 2025-07-16

Expand Down
2 changes: 0 additions & 2 deletions embassy-usb-driver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ target = "thumbv7em-none-eabi"
features = ["defmt"]

[dependencies]
# TODO: remove before releasing embassy-usb-driver v0.3
embedded-io-async = "0.7.0"
defmt = { version = "1", optional = true }

[features]
Expand Down
10 changes: 0 additions & 10 deletions embassy-usb-driver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,16 +429,6 @@ pub enum EndpointError {
Disabled,
}

// TODO: remove before releasing embassy-usb-driver v0.3
impl embedded_io_async::Error for EndpointError {
fn kind(&self) -> embedded_io_async::ErrorKind {
match self {
Self::BufferOverflow => embedded_io_async::ErrorKind::OutOfMemory,
Self::Disabled => embedded_io_async::ErrorKind::NotConnected,
}
}
}

impl core::fmt::Display for EndpointError {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
match self {
Expand Down