Hide Interrupts (#3152)

This commit is contained in:
Dániel Buga 2025-02-19 17:44:18 +01:00 committed by GitHub
parent 1a40e3419b
commit 26cf556cde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 11 additions and 0 deletions

View File

@ -72,6 +72,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The fields of config structs are no longer public (#3011)
- Removed the dysfunctional `DmaChannel::set_priority` function (#3088)
- `esp_hal::time::now()`, which has been replaced by `esp_hal::time::Instant::now()` (#3083)
- `peripherals::Interrupts` (#3152)
## [0.23.1] - 2025-01-15

View File

@ -117,6 +117,9 @@ The `_bytes` postfix of driver methods that take a byte slice have been removed.
+ uart0.write(b"Hello world!")?;
```
The `peripherals::Interrupts` enum is no longer available. Users (mostly third party driver
developers) will need to use the PAC crates directly.
## UART changes
Uart `write` is now blocking and return the number of bytes written. `read` will block until it fills at least one byte into the buffer with received bytes, use `read_buffered_bytes` to read the available bytes without blocking.

View File

@ -10,6 +10,7 @@
pub(crate) use esp32 as pac;
// We need to export this for users to use
#[doc(hidden)]
pub use pac::Interrupt;
// Note that certain are marked with `virtual` in the invocation of the

View File

@ -10,6 +10,7 @@
pub(crate) use esp32c2 as pac;
// We need to export this for users to use
#[doc(hidden)]
pub use pac::Interrupt;
// Note that certain are marked with `virtual` in the invocation of the

View File

@ -10,6 +10,7 @@
pub(crate) use esp32c3 as pac;
// We need to export this for users to use
#[doc(hidden)]
pub use pac::Interrupt;
// Note that certain are marked with `virtual` in the invocation of the

View File

@ -10,6 +10,7 @@
pub(crate) use esp32c6 as pac;
// We need to export this for users to use
#[doc(hidden)]
pub use pac::Interrupt;
// Note that certain are marked with `virtual` in the invocation of the

View File

@ -10,6 +10,7 @@
pub(crate) use esp32h2 as pac;
// We need to export this for users to use
#[doc(hidden)]
pub use pac::Interrupt;
// Note that certain are marked with `virtual` in the invocation of the

View File

@ -10,6 +10,7 @@
pub(crate) use esp32s2 as pac;
// We need to export this for users to use
#[doc(hidden)]
pub use pac::Interrupt;
// Note that certain are marked with `virtual` in the invocation of the

View File

@ -10,6 +10,7 @@
pub(crate) use esp32s3 as pac;
// We need to export this for users to use
#[doc(hidden)]
pub use pac::Interrupt;
// Note that certain are marked with `virtual` in the invocation of the