Skip to content

Abstractions for asynchronous programming on the STM32F1xx family of microcontrollers.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

mkroening/async-stm32f1xx

Repository files navigation

Continuous integration Version Documentation License

async-stm32f1xx

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.

Most of async-on-embedded's examples have been successfully ported to this project.

Requirements

Adjusting to your hardware

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.

Running

You can run the example via cargo:

$ cargo run --example <NAME> [--release]

License

This project is licensed under either of

at your option.

Contributing

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.