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 CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The `rmt` module is now only exposed on chips that support the rmt feature
- The `onewire` code has been updated for 1.0.4 and the new rmt API
- Implement new gptimer API. The old API will be available through the `timer-legacy` feature.
- Update `embedded-io`, `embedded-io-async`, and `heapless` dependencies to their latest versions

### Deprecated
- `DB_11` ADC attenuation in favor of `DB_12` for ESP-IDF V5.0+
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ embedded-hal = "1"
embedded-hal-0-2 = { package = "embedded-hal", version = "0.2.7", features = ["unproven"] }
embedded-hal-nb = "1"
embedded-hal-async = "1"
embedded-io = "0.6"
embedded-io-async = "0.6"
embedded-io = "0.7"
embedded-io-async = "0.7"
esp-idf-sys = { version = "0.36", default-features = false }
critical-section = { version = "1.2", optional = true, features = ["restore-state-none"] }
heapless = "0.8"
heapless = "0.9"
enumset = { version = "1.1.4", default-features = false }
log = { version = "0.4", default-features = false }
atomic-waker = { version = "1.1.1", default-features = false }
Expand Down
3 changes: 3 additions & 0 deletions src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ impl Display for EspIOError {
}
}

#[cfg(not(feature = "std"))]
impl core::error::Error for EspIOError {}

#[cfg(feature = "std")]
impl std::error::Error for EspIOError {}

Expand Down