os.h
A simple context switcher for Cortex-M0 processors (by adamheinrich)
cortexm-threads
Simple context switching library for ARM Cortex-M MCUs in Rust (by n-k)
os.h | cortexm-threads | |
---|---|---|
1 | 2 | |
42 | 6 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | over 3 years ago | |
C | Rust | |
GNU General Public License v3.0 only | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
os.h
Posts with mentions or reviews of os.h.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-18.
-
How can I do a context switch with rust?
I've checked out C implementations like os h and (MirOS)[https://github.com/QuantumLeaps/MiROS] but when I port them to rust (even with C2Rust) they cause hard faults too.
cortexm-threads
Posts with mentions or reviews of cortexm-threads.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-18.
-
How can I do a context switch with rust?
I'm trying to first target the ARM Cortex-M so I've been looking at crates like cortexm-threads but I can't seem to get them to run without a hard fault. Is this maybe the compiler over optimizing?
-
I Want to start leaning OS development on microcontrollers, any advice?
u/Red3nzo, I have done something similar to what you want to do. Check these links if you are interested: Harsark.rs: A safe and lightweight real-time Kernel written in Rust Cortexm-threads: Simple context switching library for ARM Cortex-M MCUs in Rust
What are some alternatives?
When comparing os.h and cortexm-threads you can also consider the following projects:
MiROS - MiROS (Minimal Real-Time Operating System) for ARM Cortex-M
tock - A secure embedded operating system for microcontrollers
ChaOS - Simple RTOS for cortex-m processors
blog_os - Writing an OS in Rust
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
redox - Mirror of https://gitlab.redox-os.org/redox-os/redox
harsark.rs - A safe and lightweight real-time Kernel written in Rust.
book - The Rust Programming Language