Skip to content

Commit

Permalink
Add missing spi impls for gpio-f303
Browse files Browse the repository at this point in the history
Fixes #303
  • Loading branch information
Sh3Rm4n committed Dec 13, 2021
1 parent ee70235 commit 1cdb198
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

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

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

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

[#304]: https://github.com/stm32-rs/stm32f3xx-hal/pull/304
[#291]: https://github.com/stm32-rs/stm32f3xx-hal/pull/291
[#278]: https://github.com/stm32-rs/stm32f3xx-hal/pull/278
[#277]: https://github.com/stm32-rs/stm32f3xx-hal/pull/277
Expand Down
2 changes: 1 addition & 1 deletion src/spi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ cfg_if::cfg_if! {
cfg_if::cfg_if! {
if #[cfg(all(
not(feature = "stm32f301"),
any(feature = "gpio-f302", feature = "gpio-f303e"),
any(feature = "gpio-f302", feature = "gpio-f303", feature = "gpio-f303e"),
))] {
impl SckPin<SPI3> for gpio::PB3<AF6<PushPull>> {}
impl MisoPin<SPI3> for gpio::PB4<AF6<PushPull>> {}
Expand Down

0 comments on commit 1cdb198

Please sign in to comment.