delay
awesome-embedded-rust
delay | awesome-embedded-rust | |
---|---|---|
3 | 37 | |
15 | 5,636 | |
- | 2.3% | |
0.0 | 7.4 | |
almost 2 years ago | 13 days ago | |
Rust | ||
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
delay
-
AVR-GCC Compiler Makes Questionable Code
Took a while but this issue was fixed this year. Until then, you could compile a patched version of LLVM, or use an older nightly.
And the code generation was quite broken indeed. Most importantly the saving of registers within interrupt handlers. Hard to understand the bug, but I had documented a simple ask inline solution on the issue. It has been fixed since then.
My last experience was quite good. And I didn't notice wrong codegen.
As an aside, the inline asm combines pretty well with generics to produce custom machine code during compilation. For example I was able to reproduce the gcc-avr built-in for delays: https://github.com/avr-rust/delay/blob/cycacc/src/delay_cycl...
-
Embedded Rust Development
I recently got an Arduino Uno to blink without much hassle, very excited about the 328p having built-in support. Will be even easier when a new release of a couple libraries gets released to crates.io, hopefully soon? (https://github.com/avr-rust/delay/issues/19)
-
Code works fine copy/pasted into my main.rs, but is ignored when run from its own external crate
tl;dr I'm trying to figure out why the avr-delay::delay function doesn't seem to do anything when imported as an external crate, but when copy/pasting the code into my main.rs, it all works. Source code here https://github.com/avr-rust/delay
awesome-embedded-rust
- Arduino e Rust
-
C++ is everywhere, but noone really talks about it. What are people's thoughts?
Are you saying that this book is a hallucination? And this? And all of this?
- Rust – Are We Game Yet?
-
Embedded Rust tutorials on the ESP32-C3
Feel free to PR them to the awesome embedded rust list, and the matrix rooms for embedded rust and esp32 (linked on that page) are super active, so feel free to plug this there too :)
-
Embedded multiplexer
If you haven't already, feel free to PR it to the awesome embedded rust list!
-
what in the gods name
list of curated rust microcontroller resources
-
What the HAL? The Quest for Finding a Suitable Embedded Rust HAL
embedded-hal trait-based HALs: There could be a better description than this. However, this category has the widest base of implementations with more options than can be mentioned here. A more comprehensive list can be found on the awesome embedded Rust repository.
- Most loved language
- [Question] What technologies and crates do you use when development with microcontrollers?
-
Using Rust for Embedded Development
For what it's worth, the ecosystem is definitely growing. See here: https://github.com/rust-embedded/awesome-embedded-rust, there are quite a few drivers for a pretty wide variety of sensors/periphs, and almost every large SoC line is supported.
What are some alternatives?
esp-wifi - A WiFi, Bluetooth and ESP-NOW driver for use with Espressif chips and bare-metal Rust
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
tock - A secure embedded operating system for microcontrollers
TIC-80 - TIC-80 is a fantasy computer for making, playing and sharing tiny games.
stm32-hal - This library provides access to STM32 peripherals in Rust.
pico-blink-rs - World's first, but possibly worst, blinky for the pico in Rust
AtomVM - Tiny Erlang VM
keyberon - A rust crate to create a pure rust keyboard firmware.
circuitpython - CircuitPython - a Python implementation for teaching coding with microcontrollers
purescript-native - A native compiler backend for PureScript (via C++ or Golang)
flip-link - Adds zero-cost stack overflow protection to your embedded programs
Main_MiSTer - Main MiSTer binary and Wiki