stm32f4xx-hal
A Rust embedded-hal HAL for all MCUs in the STM32 F4 family (by stm32-rs)
stm32f4xx-hal | liburing | |
---|---|---|
11 | 28 | |
506 | 2,589 | |
2.8% | - | |
8.4 | 9.6 | |
7 days ago | 8 days ago | |
Rust | C | |
BSD Zero Clause License | 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.
stm32f4xx-hal
Posts with mentions or reviews of stm32f4xx-hal.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-06.
- Rust newcomers are 70x less likely to create vulnerabilities than C++ newcomers [pdf]
-
1.5st project: Rusty Stopwatch
I would personally use the abstractions provided by the stm32f4xx-hal crate more. See https://github.com/stm32-rs/stm32f4xx-hal/tree/master/examples/ for examples.
-
[Media] To get familiar with embedded Rust, I wrote a Tetris clone! It's running on an STM32. I repurposed a board I designed for another project
For this project, the audio ended up being the biggest challenge. I spent a few days on-and-off working on it because it would stop working as I modified the PWM frequency. I was eventually able to track it down to a bug in the HAL and opened a PR accordingly: https://github.com/stm32-rs/stm32f4xx-hal/pull/555
-
Hey Rustaceans! Got a question? Ask here! (30/2022)!
For my specific issue, I'm using the stm32f4xx-hal library to control a bunch of RGB leds, each with a pwm output. Since I have to get pins and timers where I can find them, each component of the led is made by something like
-
STM32F4 Embedded Rust at the HAL: PWM Buzzer
At the time of writing this post, I noticed that if going with option 1 stated earlier that returns a PWMChannel can prove to be quite problematic. In navigating the documentation, the PWMChannel implementations do not include methods that allow to get and set the period of the peripheral. There is an issue that I submitted here for that.
-
blink sketch for stm32f411?
Maybe check out this example from the stm324xx-hal repo?
- How to setup CLion for programming AVR microcontrollers?
-
can u reccommend a microcontroller for my protorypes needs?
Here is an example for stm32f407 (trivial to change to stm32f411) that gets random numbers from the rng peripheral and displays them on an ssd1306 display: https://github.com/stm32-rs/stm32f4xx-hal/blob/master/examples/rng-display.rs although this uses Rust, which you may or may not like. Arduino will have you covered as well, obviously.
- Huge binary size when using usbd_device SerialPort on stm32
-
Learn a new language after C. Rust or C++?
A major benefit of Rust in embedded is how easy it is to use libraries. This example implements USB serial communication on an STM32 in under 80 lines. You add some libs and if it compiles it works.
liburing
Posts with mentions or reviews of liburing.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-22.
- Liburing 2.6 Released
-
Io Uring
I've tinkered around with io_uring on and off for the last couple years. But I think it's really becoming quite cool (not that it wasn't cool before... :)). This was a really interesting post on what's new https://github.com/axboe/liburing/wiki/io_uring-and-networki.... The combination of ring-mapped buffers and multi-shot operations has some really interesting applications for high-performance networking. Hoping over the next year or two we can start to see really bleeding edge networking perf without having to resort to using DPDK :)
-
Why you should use io_uring for network I/O
Thought I was doing something wrong at first, but after looking at examples and code, I just wasn't able to reach the epoll numbers. Looking on the Github page, there a few issues there with people who found the same thing, with their own examples. #1, #2
-
Use io_uring for network I/O
To address my own silly questions, yes, one should use the new fixed buffers described in this document: https://github.com/axboe/liburing/wiki/io_uring-and-networki...
-
The fastest rm command and one of the fastest cp commands
We're working on this! https://github.com/axboe/liburing/issues/830
- axboe / liburing
-
io_uring and networking in 2023
Link: https://github.com/axboe/liburing/wiki/io_uring-and-networking-in-2023
What are some alternatives?
When comparing stm32f4xx-hal and liburing you can also consider the following projects:
stm32-rs - Embedded Rust device crates for STM32 microcontrollers
tokio-uring - An io_uring backed runtime for Rust
meta-raspberrypi - Yocto/OE BSP layer for the Raspberry Pi boards
libevent - Event notification library
embassy - Modern embedded framework, using Rust and async.
libuv - Cross-platform asynchronous I/O
cargo-binutils - Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain
io_uring-echo-server - io_uring echo server
bare-metal-stopwatch-rust - Bare-metal interrupt-driven stopwatch on STM32F439ZI, written in Rust
linux-aio - How to use the Linux AIO feature
hubris - A lightweight, memory-protected, message-passing kernel for deeply embedded systems.
go - The Go programming language
stm32f4xx-hal vs stm32-rs
liburing vs tokio-uring
stm32f4xx-hal vs meta-raspberrypi
liburing vs libevent
stm32f4xx-hal vs embassy
liburing vs libuv
stm32f4xx-hal vs cargo-binutils
liburing vs io_uring-echo-server
stm32f4xx-hal vs bare-metal-stopwatch-rust
liburing vs linux-aio
stm32f4xx-hal vs hubris
liburing vs go