8 releases (breaking)

0.8.0 Aug 2, 2024
0.7.0 Jun 5, 2022
0.6.0 Nov 2, 2021
0.5.0 Sep 22, 2021
0.1.0 Nov 5, 2019

#270 in Embedded development

Download history 36/week @ 2024-07-19 68/week @ 2024-07-26 247/week @ 2024-08-02 63/week @ 2024-08-09 37/week @ 2024-08-16 21/week @ 2024-08-23 26/week @ 2024-08-30 54/week @ 2024-09-06 55/week @ 2024-09-13 63/week @ 2024-09-20 84/week @ 2024-09-27 67/week @ 2024-10-04 35/week @ 2024-10-11 47/week @ 2024-10-18 35/week @ 2024-10-25 237/week @ 2024-11-01

365 downloads per month
Used in 6 crates

MIT/Apache

450KB
11K SLoC

stm32f7xx-hal

HAL for the STM32F7 family of microcontrollers

Crates.io - stm32f7xx-hal Released API docs License License: MIT CI

This crate is largely inspired by the awesome work done here:

Selecting a microcontroller

This crate supports multiple microcontrollers in the stm32f7 family. Which specific microcontroller you want to build for has to be specified with a feature, for example stm32f767.

If no microcontroller is specified, the crate will not compile.

Supported Microcontrollers

  • stm32f722
  • stm32f723
  • stm32f730
  • stm32f730-lpc ("low pin count" variant)
  • stm32f732
  • stm32f733
  • stm32f745
  • stm32f746
  • stm32f756
  • stm32f765
  • stm32f767
  • stm32f769
  • stm32f777
  • stm32f778
  • stm32f779

Using as a Dependency

When using this crate as a dependency in your project, the microcontroller can be specified as part of the Cargo.toml definition.

[dependencies.stm32f7xx-hal]
version = "0.7.0"
features = ["stm32f767", "rt"]

Documentation

The documentation can be found at docs.rs/stm32f7xx-hal.

VSCode

Default settings for rust-analyzer are set in .vscode/settings.json for stm32f767. If you're working on another chip, you can change the target there for convenience, but don't commit your change to this file.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~64MB
~2M SLoC