avr-hal-template
avr-device
avr-hal-template | avr-device | |
---|---|---|
3 | 2 | |
113 | 161 | |
- | - | |
6.3 | 7.7 | |
16 days ago | 7 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
avr-hal-template
-
New crate "panic-serial": prints panic messages to a serial port on no_std targets
What bugged me right away was that the default panic handler (panic-halt) which comes with templates like this one gives no feedback whatsoever (I realize that's a very good default, and am not suggesting at all that it gets changed).
-
Learning Embedded rust
The best way to start your own project is by using the template: https://github.com/Rahix/avr-hal-template
-
Getting Started With Embedded Development Using Rust and Arduino
cargo generate --git https://github.com/Rahix/avr-hal-template.git
avr-device
-
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?
async-avr - async/await for AVR with Rust
avr-hal - embedded-hal abstractions for AVR microcontrollers
esp-idf-template - A "Hello, world!" template of a Rust binary crate for the ESP-IDF framework.
compiler-builtins - Porting `compiler-rt` intrinsics to Rust
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 https://github.com/rustsbi/standalone.
templates - Templates for bootstrapping a Rust TUI application with Ratatui
osblog - The Adventures of OS
PikaPython - An ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C. Similar project: MicroPython, JerryScript.
llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
panic-serial-example
rust - Empowering everyone to build reliable and efficient software.