diff --git a/esp-hal/CHANGELOG.md b/esp-hal/CHANGELOG.md index 9cdcd990e..158c0b4a2 100644 --- a/esp-hal/CHANGELOG.md +++ b/esp-hal/CHANGELOG.md @@ -51,6 +51,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - ESP32-S3: `PsramConfig::core_clock` is now an `Option` (#3974) - `RtcSlowClock::RtcFastClock8m` has been renamed to `RtcFastClock::RtcFastClockRcFast` (#3993) - `RtcSlowClock::RtcSlowClockRtc` has been renamed to `RtcSlowClock::RtcSlowClockRcSlow` (#3993) +- The `Raw: RawChannelAccess` of `rmt::Channel` has been erased; channel numbers are always dynamic now. (#3980) ### Fixed diff --git a/esp-hal/MIGRATING-1.0.0-rc.0.md b/esp-hal/MIGRATING-1.0.0-rc.0.md index b3801eb22..a9cc2de56 100644 --- a/esp-hal/MIGRATING-1.0.0-rc.0.md +++ b/esp-hal/MIGRATING-1.0.0-rc.0.md @@ -79,7 +79,7 @@ esp_hal::interrupt::bind_interrupt( ); ``` -## RMT changes +## RMT PulseCode changes `PulseCode` used to be an extension trait implemented on `u32`. It is now a newtype struct, wrapping `u32`. @@ -113,6 +113,42 @@ let _ = tx_channel.transmit(&tx_data).wait().unwrap(); let _ = rx_channel.transmit(&mut rx_data).wait().unwrap(); ``` +## RMT Channel Changes + +`rmt::Channel` used to have a `Raw: RawChannelAccess` generic parameter, +which could be either `ConstChannelAccess