Nav apraksta

TheZoq2 6bbfd93c27 Improve documentation for the LED examples 5 gadi atpakaļ
.cargo 83a0a7908f Preliminary remodelled version of japarics stm32f103xx-hal crate 5 gadi atpakaļ
examples 6bbfd93c27 Improve documentation for the LED examples 5 gadi atpakaļ
src 0189db9f09 Update to edition 2018 (#29) 5 gadi atpakaļ
.gdbinit 83a0a7908f Preliminary remodelled version of japarics stm32f103xx-hal crate 5 gadi atpakaļ
.gitignore 83a0a7908f Preliminary remodelled version of japarics stm32f103xx-hal crate 5 gadi atpakaļ
.travis.yml 7f7bfbe44e stm32f100 - compiles, but PWM broken (#20) 5 gadi atpakaļ
CHANGELOG.md ce570dadda Use correct clock to compute the serial baudrate 5 gadi atpakaļ
Cargo.toml 0189db9f09 Update to edition 2018 (#29) 5 gadi atpakaļ
LICENSE-APACHE 83a0a7908f Preliminary remodelled version of japarics stm32f103xx-hal crate 5 gadi atpakaļ
LICENSE-MIT 83a0a7908f Preliminary remodelled version of japarics stm32f103xx-hal crate 5 gadi atpakaļ
README.md 4d15d9f3e3 Added link to docs.rs to README (#21) 5 gadi atpakaļ
memory.x 83a0a7908f Preliminary remodelled version of japarics stm32f103xx-hal crate 5 gadi atpakaļ

README.md

stm32f1xx-hal

HAL for the STM32F1 family of microcontrollers

Usage

This crate will eventually contain support for multiple microcontrollers in the stm32f1 family. Which specific microcontroller you want to build for has to be specified with a feature, for example stm32f103.

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

Building an Example

If you are compiling the crate on its own for development or running examples, specify your microcontroller on the command line. For example:

cargo build --features stm32f103 --example led

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.stm32f1xx-hal]
version = "0.2.0"
features = ["stm32f100", "rt"]

Supported Microcontrollers

  • STM32F100
  • STM32F103

Documentation

The documentation can be found at docs.rs.

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.