Skip to content

Commit 513c806

Browse files
authored
Merge pull request #797 from stm32-rs/changelog2
add changelog links
2 parents f27fcdd + 4dd8336 commit 513c806

File tree

2 files changed

+22
-14
lines changed

2 files changed

+22
-14
lines changed

CHANGELOG.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,43 +6,52 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
9-
- Add `f469disc-lcd-test` with color/BER test pattern LCD output [#789]
109

1110
### Added
1211

12+
- Add `f469disc-lcd-test` with color/BER test pattern LCD output [#789]
1313
- Port `dsihost` implementation from stm32h7xx-hal [#786]
1414
- I2C 10-bit address support for I2c [#772] [#783]
1515
- `i2c_scanner` example [#758]
16-
- Enable `sdio` for stm32f446
16+
- Enable `sdio` for stm32f446 [#764]
1717
- port LTDC implementation and example from stm32f7xx-hal [#731]
1818
- port `stm32-fmc` support and example from stm32f7xx-hal [#759]
19-
- IrDA mode for USARTs
19+
- IrDA mode for USARTs [#761]
2020
- initial `SAI` support [#248]
2121
- initial `embedded-io` support [#725]
2222

2323
### Changed
2424

25-
- RTC: `ClockSource` enum instead of generic
26-
- Bump MSRV to 1.62
25+
- RTC: `ClockSource` enum instead of generic [#785]
26+
- Bump MSRV to 1.62 [#778]
2727
- Use `stm32f4-staging` until `stm32f4` is released [#706]
28-
- use GPIO pac fields instead of raw write
29-
- RTIC2 monotonics fix: CC1 instead of CC3
28+
- use GPIO pac fields instead of raw write [#777]
29+
- RTIC2 monotonics fix: CC1 instead of CC3 [#771]
3030
- Allow different lengths of buffers in hal_1 SpiBus impl [#566]
31-
- Clean SPI write impls
31+
- Clean SPI write impls [#774]
3232
- move `ptr()` to `Ptr` trait [#773]
33-
- make `I2sFreq` trait similar to `BusClock`
34-
- `steal` UART peripheral on `Rx::new`
33+
- make `I2sFreq` trait similar to `BusClock` [#796]
34+
- `steal` UART peripheral on `Rx::new` [#768]
3535

3636
[#248]: https://github.com/stm32-rs/stm32f4xx-hal/pull/248
3737
[#566]: https://github.com/stm32-rs/stm32f4xx-hal/pull/566
3838
[#706]: https://github.com/stm32-rs/stm32f4xx-hal/pull/706
3939
[#725]: https://github.com/stm32-rs/stm32f4xx-hal/pull/725
4040
[#731]: https://github.com/stm32-rs/stm32f4xx-hal/pull/731
4141
[#758]: https://github.com/stm32-rs/stm32f4xx-hal/pull/758
42+
[#759]: https://github.com/stm32-rs/stm32f4xx-hal/pull/759
43+
[#761]: https://github.com/stm32-rs/stm32f4xx-hal/pull/761
44+
[#764]: https://github.com/stm32-rs/stm32f4xx-hal/pull/764
45+
[#768]: https://github.com/stm32-rs/stm32f4xx-hal/pull/768
46+
[#771]: https://github.com/stm32-rs/stm32f4xx-hal/pull/771
4247
[#772]: https://github.com/stm32-rs/stm32f4xx-hal/pull/772
4348
[#773]: https://github.com/stm32-rs/stm32f4xx-hal/pull/773
49+
[#774]: https://github.com/stm32-rs/stm32f4xx-hal/pull/774
50+
[#777]: https://github.com/stm32-rs/stm32f4xx-hal/pull/777
51+
[#778]: https://github.com/stm32-rs/stm32f4xx-hal/pull/778
4452
[#783]: https://github.com/stm32-rs/stm32f4xx-hal/pull/783
45-
[#759]: https://github.com/stm32-rs/stm32f4xx-hal/pull/759
53+
[#785]: https://github.com/stm32-rs/stm32f4xx-hal/pull/785
54+
[#796]: https://github.com/stm32-rs/stm32f4xx-hal/pull/796
4655

4756
## [v0.21.0] - 2024-05-30
4857

src/sai.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ pub trait Channel: ChannelClocks {
297297
// TODO: SAIB is on Channel 0, Stream 5 and Channel 1, Stream 4.
298298
}
299299

300-
#[cfg(any(feature = "gpio-f413", feature = "gpio-f427", feature = "gpio-f469"))]
300+
#[cfg(not(feature = "sai2"))]
301301
impl<SAI, const C: bool> ChannelClocks for SAICH<SAI, C> {
302302
fn get_clk_frequency(clocks: &rcc::Clocks) -> Option<Hertz> {
303303
if C {
@@ -308,15 +308,14 @@ impl<SAI, const C: bool> ChannelClocks for SAICH<SAI, C> {
308308
}
309309
}
310310

311-
#[cfg(feature = "gpio-f446")]
311+
#[cfg(feature = "sai2")]
312312
impl<const C: bool> ChannelClocks for SAICH<SAI1, C> {
313313
fn get_clk_frequency(clocks: &rcc::Clocks) -> Option<Hertz> {
314314
clocks.sai1_clk()
315315
}
316316
}
317317

318318
#[cfg(feature = "sai2")]
319-
#[cfg(feature = "gpio-f446")]
320319
impl<const C: bool> ChannelClocks for SAICH<SAI2, C> {
321320
fn get_clk_frequency(clocks: &rcc::Clocks) -> Option<Hertz> {
322321
clocks.sai2_clk()

0 commit comments

Comments
 (0)