Skip to content

mcu-rust/FreeRTOS

 
 

Repository files navigation

FreeRTOS-Next

Crates.io

This project is based on code from freertos.rs and FreeRTOS-rust and some additions to simplify the usage of FreeRTOS in embedded applications written in Rust.

Project Crates:

How it works

The freertos-build build-dependency compiles the FreeRTOS code from its original "C" sources files into an archive to be linked against your Rust app. Internally it uses the cc crate and some meta info provided by your apps build.rs: A path to the app specific FreeRTOSConfig.h. You can copy one from examples.

The freertos-next dependency provides an interface to access all FreeRTOS functionality from your (embedded) Rust app.

Usage

See freertos-next README

Examples

To get started there are examples in freertos-rust-examples for:

  • Cortex M33 (nRF9160)
  • Cortex M3 (STM32F103C8)
  • Cortex M4 (STM32F411CE)
  • Windows
  • ...more to come...

License

This repository is using the MIT License. Some parts might state different licenses that need to be respected when used.

About

Rust crate for FreeRTOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 92.9%
  • Assembly 5.0%
  • Rust 1.2%
  • CMake 0.8%
  • Python 0.1%
  • Linker Script 0.0%