osblog
The Adventures of OS (by sgmarz)
avr-device
Register access crate for AVR microcontrollers (by Rahix)
osblog | avr-device | |
---|---|---|
3 | 2 | |
538 | 193 | |
3.9% | 2.6% | |
0.0 | 7.6 | |
over 2 years ago | 2 months ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
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.
osblog
Posts with mentions or reviews of osblog.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-19.
-
My RISC-V OSDev journey, so far
How to automate building and running the project using make; in particular, leveraging variables in the Makefile to elegantly apply the same command line options for compiling each file in the codebase - because trust me, you'll need a ton of command-line options ;-) For this, I based my initial Makefile on that found in the source code for "The Adventures of OS", e.g. this
-
Getting started with OSDev on RISC-V
I would like to thank the authors of RISC-V from scratch and The Adventures of OS for their high-quality articles that go into great detail on how RISC-V works. Without their well-written articles, I wouldn't have known how to get started with kernel development on RISC-V. My initial project setup - the minimal C runtime crt0.s in assembly and the linker script riscv64-virt.lds - is based on the former, while my UART driver code is adapted from the latter and I intend to closely follow the latter going forward.
-
RV32I Stack and stack pointer in hardware implementation
Here's an example of an interrupt routine (m_trap_vector): https://github.com/sgmarz/osblog/blob/master/risc_v/src/asm/trap.S
avr-device
Posts with mentions or reviews of avr-device.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-09.
-
rustc + avr = lovelove back again!
Also note that some libraries in the ecosystem might still use a feature called llvm_asm that was removed from rustc in 2021, so those crates might need a while to migrate to the newer asm syntax (this feature is used to provide an inline AVR assembly, e.g. to implement a cycle-accurate delay); so far I've got patches merged to https://github.com/Rahix/avr-hal & https://github.com/Rahix/avr-device :-)
-
Rust for microcontrollers question
Take a look at the avr-device crate, it also explains how to add a new controller and how to get to the svd files.
What are some alternatives?
When comparing osblog and avr-device you can also consider the following projects:
riscv-elf-psabi-doc - A RISC-V ELF psABI Document
rustsbi - RISC-V Supervisor Binary Interface (RISC-V SBI) library in Rust; runs on M or HS mode; good support for embedded Rust ecosystem. For binary download see prototyper folder.
riscv-from-scratch - The code for the RISC-V from scratch blog post series.
avr-hal - embedded-hal abstractions for AVR microcontrollers
marvelos - Marvelous RISC-V Operating System, by donaldsebleung
avr-hal-template - cargo-generate template for avr-hal projects