Skip to content

Commit 5477075

Browse files
committed
Add missing spi impls for gpio-f303
Fixes #303
1 parent 26a531a commit 5477075

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1919
- `BusClock` and `BusTimerClock` traits ([#302])
2020
- `RccBus`, `Enable`, `Reset` traits and implementations for peripherals ([#299])
2121
- Support cortex-m-rt `v0.7.0` but still allow `v0.6.13` ([#283])
22+
- Add missing SPI impls for the `gpio-f303` device groups (e.g. stm32f303vc) ([#304])
2223

2324
### Fixed
2425

@@ -502,6 +503,7 @@ let clocks = rcc
502503
[defmt]: https://github.com/knurling-rs/defmt
503504
[filter]: https://defmt.ferrous-systems.com/filtering.html
504505

506+
[#303]: https://github.com/stm32-rs/stm32f3xx-hal/pull/303
505507
[#302]: https://github.com/stm32-rs/stm32f3xx-hal/pull/302
506508
[#299]: https://github.com/stm32-rs/stm32f3xx-hal/pull/299
507509
[#291]: https://github.com/stm32-rs/stm32f3xx-hal/pull/291

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)