Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
CC-BY-SA-4.0
LICENSE-CC-BY-SA
MIT
LICENSE-MIT
NotificationsYou must be signed in to change notification settings

rtic-rs/rtic

The hardware accelerated Rust RTOS

A concurrency framework for building real-time systems.

crates.iodocs.rsbookmatrixMeeting notes

Features

  • Tasks as the unit of concurrency1. Tasks can beevent triggered(fired in response to asynchronous stimuli) or spawned by the application ondemand.

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

  • A timer queue2. Software tasks can be delayed or scheduled to continue runningat 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-grainedprioritybased critical sections1.

  • Deadlock free execution guaranteed at compile time. This is a strongerguarantee than what's provided bythe standardMutexabstraction.

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

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

  • All Cortex-M devices are fully supported.

  • Most RISC-V devices are supported. Refer to the RTIC bookto learn more about RISC-V backends, their particularities, and their limitations.

  • This task model is amenable to known WCET (Worst Case Execution Time) analysisand scheduling analysis techniques.

Documentation for thedevelopment version.

Chat

Join us and talk about RTIC in theMatrix room.

Weekly meeting minutes can be found over atRTIC HackMD

Contributing

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

Running tests locally

To check allRun-pass tests locally on yourthumbv6m-none-eabi orthumbv7m-none-eabi target device, run

$cargo xtask --target<your target>#ˆˆˆˆˆˆˆˆˆˆˆˆ#e.g. thumbv7m-none-eabi

Acknowledgments

This crate is based on theReal-Time For the Masses languagecreated by the Embedded Systems group atLuleå University of Technology,led byProf. Per Lindgren.

References

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 theCreative Commons CC-BY-SA v4.0 license (LICENSE-CC-BY-SA orhttps://creativecommons.org/licenses/by-sa/4.0/legalcode).

Contribution

Unless you explicitly state otherwise, any contribution intentionally submittedfor inclusion in the work by you, as defined in the Apache-2.0 license, shall belicensed as above, without any additional terms or conditions.

Footnotes

  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 staticpriority SRP kernel primitives. In Industrial Embedded Systems (SIES), 20138th IEEE International Symposium on (pp. 110-113). IEEE.2

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

About

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

Topics

Resources

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
CC-BY-SA-4.0
LICENSE-CC-BY-SA
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp