stm32f7xx-hal
stm32f7xx-hal copied to clipboard
A Rust embedded-hal HAL for all MCUs in the STM32 F7 family
stm32f7xx-hal
HAL for the STM32F7 family of microcontrollers
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
stm32f722stm32f723stm32f730stm32f732stm32f733stm32f745stm32f746stm32f756stm32f765stm32f767stm32f769stm32f777stm32f778stm32f779
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.