rtic: no releases, two licence scopes, and one 2013 paper carrying three features
Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers
At a glance
- What is it?
- A hardware-accelerated Rust RTOS for Cortex-M, built as six crates around a compile-time deadlock argument. The repository is unusually careful about where its claims come from, and unusually quiet about how it versions itself.
- Who is it for?
- Judgment: this is one of the better-documented embedded frameworks, and the reason is that it makes its guarantees traceable. Deadlock freedom is stated as a compile-time property rather than a runtime hope, the single-stack memory model is spelled out as a reason there is no allocator dependency, and the priority rule that produces data-race freedom is cited to the paper it came from.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly Rust, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.
Star history
- rtic-rs/rtic2,439 ★ · +30
| Repository | 2026-09-29 | 2026-11-23 |
|---|---|---|
| rtic-rs/rtic | 2.4k | 2.4k |
30 Stars in the last 55 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
There are no GitHub releases, so the version lives on crates.io
The release list is empty. Not one GitHub release exists for this repository, which for a crate that is published to a registry is a deliberate choice rather than an omission, and it means the artefact everyone installs carries a version that the repository history never records.
The five badges at the top confirm the shape of the project: the crate on crates.io, the generated API documentation on docs.rs, the project site, a Matrix room, and a meeting page. Nothing there points at a release page, because there is not one.
The default branch is `master`, and it was pushed on 29 September 2026.
Three files at the root explain how the site is served. There is a `CNAME`, which is what binds a GitHub Pages site to `rtic.rs`, a `redirect.html` stub, and a `book/` directory holding the book's source together with a `check-book.sh` script. So the prose at the project domain is authored in this repository even though nothing here looks like documentation, and the file that publishes the code does not publish its own version.
All Cortex-M devices are fully supported, most RISC-V devices are supported
Read those two bullets next to each other. The Cortex-M line says all devices are fully supported, with no qualifier. The RISC-V line says most devices are supported and then hands you a book to learn about the backends, their particularities and their limitations.
That is an honest asymmetry rather than a hedge, and the example set bears it out. Seventeen example crates cover Silicon Labs EFR32, four ST families, two Espressif parts, HiFive1, RP2040, nRF52840, Teensy 4 and the QEMU board lm3s6965. The RISC-V coverage is the two Espressif examples and HiFive1. The Cortex-M coverage is everything else, which is where the word all is doing real work.
One directory name is worth noting on its own: `embassy-stm32g4`, named after a different Rust embedded framework, sits in the same list as the blinky examples. Whether that is an integration or an interoperability demonstration is not stated anywhere in the readme, so the directory name is all the evidence there is.
One 2013 paper backs both the task model and the memory sharing claim
Twelve features are listed and two of them share a footnote. The first footnote is attached to the claim that tasks are the unit of concurrency, and it is attached again to the claim about data-race-free memory sharing through priority-based critical sections.
That single reference is Eriksson, Häggström, Aittamaa, Kruglyak and Lindgren, from June 2013, on programming APIs and static priority SRP kernel primitives, presented at the IEEE SIES symposium. Two mechanisms, one paper, which is reasonable since both come from the same kernel design, but it does mean the second claim is not independently sourced.
The second footnote backs the timer queue alone: Lindgren and five others, from 2016, on abstract timers mapped onto the Cortex-M family, in ACM SIGBED Review. So the newest literature the framework leans on is eight years old, which is normal for a design that has not changed and worth knowing if you are looking for recent discussion of the model itself.
The one comparison drawn against anything is the standard library's `Mutex`, on the grounds that a compile-time guarantee is stronger. That is the only claim on the page that argues rather than describes.
Seventeen examples ship in the tree and the readme points at another repository
The community section offers a repository of community-provided examples at rtic-rs/rtic-examples. It does not mention that this repository has an `examples/` directory containing seventeen working example crates of its own.
Read as a set they are a coverage map rather than a tutorial sequence. Five are `blinky`, the standard first program. The rest reach for specific hardware: analog to digital conversion on an ST part in three variants, an encoder polled by hand, PWM generation using the DWT cycle counter, an RTC interrupt, a periodic print on an ST part, and an RP2040 with I2C initialised locally rather than by a driver.
One of them, `lm3s6965`, is the board QEMU emulates, which is the hinge between the examples and the test instructions. Running the test suite needs QEMU, and ESP32 QEMU if you want the Espressif targets, and the entry point is a workspace task rather than a plain cargo command. So the same emulation that runs the continuous integration also runs one of the shipped examples, which is a neat way to keep a board support claim honest.
xtask is a workspace member that default-members deliberately leaves out
The workspace manifest is unusually explicit about this. `members` lists seven crates: the six that make up the framework plus `xtask`. `default-members` lists the same six and omits `xtask`. The resolver is set to version 2.
That omission is what makes the documented commands work without a bootstrap step. Because the tooling crate is a member but not a default member, a plain cargo invocation in the root builds the publishable crates and not the build tooling, and the subcommand form is still available to run it. The three commands you are given are all in that crate:
$ cargo xtask ci
$ cargo xtask fmt
$ cargo xtask clippy`ci` runs the whole `tests` set, `fmt` only formats and is described as included in the run above it, and clippy is offered separately, with `cargo xtask --help` for the rest. Splitting the tools into their own crate means a contributor can format a pull request without paying for the test suite, which is the right trade on a project where tests run inside an emulator.
Release builds use one codegen unit and full LTO, and build scripts get nothing
The profile section of the workspace manifest is where the embedded constraints show through:
[profile.release]
codegen-units = 1
lto = true
# do not optimize proc-macro deps or build scripts
[profile.dev.build-override]
codegen-units = 16
debug = false
debug-assertions = false
opt-level = 0
overflow-checks = falseOne codegen unit and full link-time optimisation in release is the standard choice for firmware, where binary size and predictable timing matter more than build time, and it pairs with the claim that the hardware does the bulk of the scheduling and that all tasks share a single call stack.
The two override profiles turn optimisation off for build dependencies and process macros, and they do it in both the dev and release profiles, with the comment saying why. The cost is worth naming: `overflow-checks = false` applies to exactly the code that runs macros over user input during compilation, which is where an arithmetic mistake is hardest to notice and easiest to attribute to someone else's crate. The duplication of the two override blocks also means a change to one has to be made in the other.
Three licence files and one sentence scoping each
The licence section handles the common embedded problem of code and prose wanting different terms. All source code, and code snippets included, is offered under either the Apache License 2.0 or the MIT licence, at your option. Both files are at the root.
The book is separate: the written prose inside it is under Creative Commons CC-BY-SA v4.0, and there is a third licence file at the root for exactly that. So the split is stated rather than left to be inferred, which is more than most projects of this size manage.
Contributions carry the same rule. Unless a contributor states otherwise, anything submitted for inclusion is licensed as above with no additional terms, and the readme repeats the point at the end in slightly different words, which is the one small redundancy in the section.
What the repository metadata does not carry is any of this. The licence field reads Apache-2.0 alone, so a package index that only reads metadata will not tell you the MIT option exists or that the book is under a share-alike licence.
Features go through a separate RFC repository, and the origin language survives as an archive link
The contributing section draws a hard line for anything substantial: new features and big changes go through the RFC process, in a repository dedicated to RFCs at rtic-rs/rfcs. The default branch here was pushed on 29 September 2026, so work lands continuously, while anything that changes the model has to clear a different queue first. That is the right arrangement for a framework whose central claim is a compile-time guarantee, because changing the analysis rules is not a pull request.
The acknowledgments section explains where the design came from: the Real-Time For the Masses language, created by the embedded systems group at Luleå University of Technology and led by Per Lindgren, which is also where five of the seven cited authors come from.
The link to that language does not point at a live site. It points at an archive snapshot taken on 1 April 2022, which tells you the original project site is gone and the framework has outlived the language it grew out of.
One small mismatch in the chat section: the meeting minutes are described as living on RTIC HackMD, while the link behind that text goes to a page on the project's own domain.
Editorial conclusion
Judgment: this is one of the better-documented embedded frameworks, and the reason is that it makes its guarantees traceable. Deadlock freedom is stated as a compile-time property rather than a runtime hope, the single-stack memory model is spelled out as a reason there is no allocator dependency, and the priority rule that produces data-race freedom is cited to the paper it came from. The comparison with the standard Mutex is the only unhedged claim on the page and it is a fair one. Two caveats before you commit. There are no GitHub releases at all, so the only version record is whatever crates.io reports, and the Cargo workspace does not even show a package version in the file that is published with it. And support is stated as absolute for Cortex-M and qualified for RISC-V, with the qualifications pushed into the book rather than the readme, so check your specific part before assuming parity. The example set is the fastest way to find out whether your board is covered.
Frequently asked questions
What does RTIC stand for?
Real-Time Interrupt-driven Concurrency. It is described as a concurrency framework for building real-time systems and as a hardware accelerated Rust RTOS, targeting ARM Cortex-M microcontrollers with support for most RISC-V devices.
What is an rtic?
RTIC is a Rust framework in which tasks are the unit of concurrency. Tasks are either event triggered or spawned by the application, messages can be passed at spawn time, a timer queue can delay a task to run later, and priorities give preemptive multitasking. Data sharing is race free through priority-based critical sections, deadlock freedom is guaranteed at compile time, and all tasks share a single call stack with no hard dependency on a dynamic allocator.
How do I run the RTIC test suite?
With QEMU installed, and ESP32 QEMU if you want those targets, run `cargo xtask ci` to check all tests, `cargo xtask fmt` to format before a pull request, and `cargo xtask clippy` for lints. The task binary is the `xtask` crate, which is a workspace member but deliberately excluded from the default members so a plain cargo invocation does not build the tooling.
What licence applies to RTIC, and does the book use the same one?
No. All source code including code snippets is offered under either the Apache License 2.0 or the MIT licence, at your option, and contributions inherit that. The written prose inside the book is under Creative Commons CC-BY-SA v4.0. All three licence texts sit at the root of the repository.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/rtic-rs-rtic)Star history chart for your README
[](https://hysenlabs.com/projects/rtic-rs-rtic)Was this useful?