Crates.io | async-stm32f1xx |
lib.rs | async-stm32f1xx |
version | 0.3.0 |
source | src |
created_at | 2020-06-05 15:07:47.245782 |
updated_at | 2020-12-15 16:35:16.316545 |
description | Abstractions for asynchronous programming on the STM32F1xx family of microcontrollers. |
homepage | |
repository | https://github.com/mwkroening/async-stm32f1xx |
max_upload_size | |
id | 250366 |
size | 58,806 |
Abstractions for asynchronous programming on the STM32F1xx family of microcontrollers.
This project provides futures-rs
-based abstractions for asynchronous programming with peripherals from stm32f1xx-hal
.
It started as an effort to port the examples from async-on-embedded
to the Blue Pill (STM32F103C8T6
) as part of a bachelor's thesis.
The library is independent of any particular executor, but the examples use the async-embedded
runtime.
Your rustc
needs to include rust-lang/rust#69033, so you need at least Rust nightly-2020-03-22
or Rust 1.44.
Your Rust toolchain needs to support the thumbv7m-none-eabi
target:
$ rustup target add thumbv7m-none-eabi
Most of async-on-embedded
's examples have been successfully ported to this project.
The memory region information included in this repository matches the Blue Pill (STM32F103C8T6
).
You may need to adjust it according to your hardware.
For more information see cortex-m-quickstart
.
You can run the example via cargo:
$ cargo run --example <NAME> [--release]
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in async-stm32f1xx
by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.