Changelog
This commit is contained in:
parent
e052364589
commit
53b0c8628d
@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Added the `BuilderLite` derive macro which implements the Builder Lite pattern for a struct (#2614)
|
- Added the `BuilderLite` derive macro which implements the Builder Lite pattern for a struct (#2614, #2897)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@ -57,6 +57,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Added `tsens::TemperatureSensor` peripheral for ESP32C6 and ESP32C3 (#2875)
|
- Added `tsens::TemperatureSensor` peripheral for ESP32C6 and ESP32C3 (#2875)
|
||||||
- Added `with_rx()` and `with_tx()` methods to Uart, UartRx, and UartTx ()
|
- Added `with_rx()` and `with_tx()` methods to Uart, UartRx, and UartTx ()
|
||||||
|
|
||||||
|
- `spi::master::BusClockConfig` (#2897)
|
||||||
|
- BuilderLite now has a `#[builder_lite_into]` helper to accept convertible types (#2897)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Bump MSRV to 1.83 (#2615)
|
- Bump MSRV to 1.83 (#2615)
|
||||||
@ -103,6 +106,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- `ClockSource` enums are now `#[non_exhaustive]` (#2912)
|
- `ClockSource` enums are now `#[non_exhaustive]` (#2912)
|
||||||
|
|
||||||
- `gpio::{Input, Flex}::wakeup_enable` now returns an error instead of panicking. (#2916)
|
- `gpio::{Input, Flex}::wakeup_enable` now returns an error instead of panicking. (#2916)
|
||||||
|
- SPI `Config::frequency` has been replaced by `clock`. (#2897)
|
||||||
|
- SPI `Config::with_frequency` has been renamed to `with_clock`. (#2897)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@ -458,3 +458,17 @@ The Address and Command enums have similarly had their variants changed from e.g
|
|||||||
- Command::Command1
|
- Command::Command1
|
||||||
+ Command::_1Bit
|
+ Command::_1Bit
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## SPI master driver configuration
|
||||||
|
|
||||||
|
SPI `Config::with_frequency` has been renamed to `with_clock`. This function now takes either
|
||||||
|
a `fugit::HertzU32` or `BusClockConfig`.
|
||||||
|
|
||||||
|
```diff
|
||||||
|
let config = Config::default()
|
||||||
|
- .with_frequency(10.MHz());
|
||||||
|
+ .with_clock(10.MHz());
|
||||||
|
```
|
||||||
|
|
||||||
|
The new structure supports configuring a clock source, although currently only `ClockSource::Apb`
|
||||||
|
is available.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user