Skip to content

Commit 1cdb198

Browse files
committed
Add missing spi impls for gpio-f303
Fixes #303
1 parent ee70235 commit 1cdb198

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1414

1515
## Unreleased
1616

17-
No changes.
17+
- Add missing SPI impls for the `gpio-f303` device groups (e.g. stm32f303vc) ([#304])
1818

1919
## [v0.8.1] - 2021-10-27
2020

@@ -483,6 +483,7 @@ let clocks = rcc
483483
[defmt]: https://github.com/knurling-rs/defmt
484484
[filter]: https://defmt.ferrous-systems.com/filtering.html
485485

486+
[#304]: https://github.com/stm32-rs/stm32f3xx-hal/pull/304
486487
[#291]: https://github.com/stm32-rs/stm32f3xx-hal/pull/291
487488
[#278]: https://github.com/stm32-rs/stm32f3xx-hal/pull/278
488489
[#277]: https://github.com/stm32-rs/stm32f3xx-hal/pull/277

src/spi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ cfg_if::cfg_if! {
143143
cfg_if::cfg_if! {
144144
if #[cfg(all(
145145
not(feature = "stm32f301"),
146-
any(feature = "gpio-f302", feature = "gpio-f303e"),
146+
any(feature = "gpio-f302", feature = "gpio-f303", feature = "gpio-f303e"),
147147
))] {
148148
impl SckPin<SPI3> for gpio::PB3<AF6<PushPull>> {}
149149
impl MisoPin<SPI3> for gpio::PB4<AF6<PushPull>> {}

0 commit comments

Comments
 (0)