All Projects → rtic-rs → Cortex M Rtic

rtic-rs / Cortex M Rtic

Licence: other
Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Cortex M Rtic

Cortex M Quickstart
Template to develop bare metal applications for Cortex-M microcontrollers
Stars: ✭ 372 (-40.29%)
Mutual labels:  bare-metal, arm, microcontroller, cortex-m, no-std
drone-cortexm
ARM® Cortex®-M platform crate for Drone, an Embedded Operating System.
Stars: ✭ 31 (-95.02%)
Mutual labels:  arm, concurrency, bare-metal, no-std
alloc-cortex-m
A heap allocator for Cortex-M processors
Stars: ✭ 139 (-77.69%)
Mutual labels:  arm, microcontroller, cortex-m, no-std
drone-stm32-map
STM32 peripheral mappings for Drone, an Embedded Operating System.
Stars: ✭ 16 (-97.43%)
Mutual labels:  arm, concurrency, bare-metal, no-std
Cortex M
Low level access to Cortex-M processors
Stars: ✭ 379 (-39.17%)
Mutual labels:  arm, microcontroller, cortex-m, no-std
stm32f103xx
DEPRECATED
Stars: ✭ 31 (-95.02%)
Mutual labels:  arm, microcontroller, cortex-m, no-std
mdepx
MDEPX — A BSD-style RTOS
Stars: ✭ 17 (-97.27%)
Mutual labels:  arm, microcontroller, cortex-m, bare-metal
m4vga-rs
VGA-style video output for STM32F4 processors, in Rust
Stars: ✭ 122 (-80.42%)
Mutual labels:  microcontroller, cortex-m, no-std
Tock
A secure embedded operating system for microcontrollers
Stars: ✭ 3,258 (+422.95%)
Mutual labels:  arm, microcontroller, cortex-m
rnk
rnk is a RTOS targeting ARM architecture.
Stars: ✭ 22 (-96.47%)
Mutual labels:  arm, microcontroller, cortex-m
Drone
CLI utility for Drone, an Embedded Operating System.
Stars: ✭ 114 (-81.7%)
Mutual labels:  bare-metal, concurrency, no-std
DemOS
Free, simple, extremely lightweight, stackless, cooperative, co-routine system (OS) for microcontrollers
Stars: ✭ 18 (-97.11%)
Mutual labels:  arm, microcontroller, cortex-m
Svd2rust
Generate Rust register maps (`struct`s) from SVD files
Stars: ✭ 347 (-44.3%)
Mutual labels:  arm, microcontroller, cortex-m
Cortex M Rt
Minimal startup / runtime for Cortex-M microcontrollers
Stars: ✭ 286 (-54.09%)
Mutual labels:  arm, cortex-m, no-std
Drone Core
The core crate for Drone, an Embedded Operating System.
Stars: ✭ 263 (-57.78%)
Mutual labels:  bare-metal, concurrency, no-std
betafpv-f3
Board Support Crate for the BetaFPV F3 Drone Flight Controller
Stars: ✭ 37 (-94.06%)
Mutual labels:  arm, cortex-m, no-std
Xpcc
DEPRECATED, use our successor library https://modm.io instead
Stars: ✭ 177 (-71.59%)
Mutual labels:  arm, microcontroller, cortex-m
Ferret
Ferret is a free software lisp implementation for real time embedded control systems.
Stars: ✭ 878 (+40.93%)
Mutual labels:  bare-metal, arm, microcontroller
Pyocd
Open source Python library for programming and debugging Arm Cortex-M microcontrollers
Stars: ✭ 550 (-11.72%)
Mutual labels:  arm, microcontroller, cortex-m
async-stm32f1xx
Abstractions for asynchronous programming on the STM32F1xx family of microcontrollers.
Stars: ✭ 24 (-96.15%)
Mutual labels:  arm, cortex-m, no-std

Real-Time Interrupt-driven Concurrency

A concurrency framework for building real-time systems.

Formerly known as Real-Time For the Masses.

crates.io docs.rs book rustc matrix Meeting notes

Features

  • Tasks as the unit of concurrency [^1]. Tasks can be event triggered (fired in response to asynchronous stimuli) or spawned by the application on demand.

  • Message passing between tasks. Specifically, messages can be passed to software tasks at spawn time.

  • A timer queue [^2]. Software tasks can be scheduled to run at some time in the future. This feature can be used to implement periodic tasks.

  • Support for prioritization of tasks and, thus, preemptive multitasking.

  • Efficient and data race free memory sharing through fine grained priority based critical sections [^1].

  • Deadlock free execution guaranteed at compile time. This is an stronger guarantee than what's provided by the standard Mutex abstraction.

  • Minimal scheduling overhead. The task scheduler has minimal software footprint; the hardware does the bulk of the scheduling.

  • Highly efficient memory usage: All the tasks share a single call stack and there's no hard dependency on a dynamic memory allocator.

  • All Cortex-M devices are fully supported.

  • This task model is amenable to known WCET (Worst Case Execution Time) analysis and scheduling analysis techniques. (Though we haven't yet developed Rust friendly tooling for that.)

Requirements

  • Rust 1.36.0+

  • Applications must be written using the 2018 edition.

User documentation

API reference

Chat

Join us and talk about RTIC in the Matrix room.

Weekly meeting notes can be found over at HackMD

Contributing

New features and big changes should go through the RFC process in the dedicated RFC repository.

Acknowledgments

This crate is based on the Real-Time For the Masses language created by the Embedded Systems group at Luleå University of Technology, led by Prof. Per Lindgren.

References

[^1]: Eriksson, J., Häggström, F., Aittamaa, S., Kruglyak, A., & Lindgren, P. (2013, June). Real-time for the masses, step 1: Programming API and static priority SRP kernel primitives. In Industrial Embedded Systems (SIES), 2013 8th IEEE International Symposium on (pp. 110-113). IEEE.

[^2]: Lindgren, P., Fresk, E., Lindner, M., Lindner, A., Pereira, D., & Pinho, L. M. (2016). Abstract timers and their implementation onto the arm cortex-m family of mcus. ACM SIGBED Review, 13(1), 48-53.

License

All source code (including code snippets) is licensed under either of

at your option.

The written prose contained within the book is licensed under the terms of the Creative Commons CC-BY-SA v4.0 license (LICENSE-CC-BY-SA or https://creativecommons.org/licenses/by-sa/4.0/legalcode).

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 licensed as above, without any additional terms or conditions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].