avr-device
Register access crate for AVR microcontrollers (by Rahix)
avr-hal-template
cargo-generate template for avr-hal projects (by Rahix)
avr-device | avr-hal-template | |
---|---|---|
2 | 3 | |
187 | 145 | |
- | 4.8% | |
7.6 | 4.2 | |
12 days ago | 14 days ago | |
Rust | Rust | |
Apache License 2.0 | 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.
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.
avr-hal-template
Posts with mentions or reviews of avr-hal-template.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-02.
-
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
What are some alternatives?
When comparing avr-device and avr-hal-template you can also consider the following projects:
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.