FreeRTOS-Next
Wrapper library to use FreeRTOS API in Rust.
To build an embedded application with FreeRTOS please refer to repository. It needs freertos-build to work with.
stm32f1-FreeRTOS-example shows how to use this crate with stm32f1-hal together.
It implements some useful traits:
Usage
-
Checkout FreeRTOS: https://github.com/FreeRTOS/FreeRTOS-Kernel
-
Add dependencies to your Rust apps
Cargo.toml
cargo add freertos-next
cargo add --build freertos-build
- Add this snippet to your apps
build.rs: