Embedded Rust device crates for STM32 microcontrollers (by stm32-rs)

Stm32-rs Alternatives

Similar projects and alternatives to stm32-rs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better stm32-rs alternative or higher similarity.

stm32-rs reviews and mentions

Posts with mentions or reviews of stm32-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-26.
  • Next Rust Compiler
    6 projects | | 26 Jan 2023
    In real world software, 99% of code is gluing preexisting lower-level functions together. In C/C++, the unsafe is implicit and needlessly covers everything. In Rust, the unsafe is only needed for the 1%.

    You can safely implement a doubly-linked list in Rust, using unsafe, and that list can offer a safe interface so that the next higher level of code does not need to use unsafe. In fact, one doubly-linked list implementation that provides a safe interface is in the Rust standard library: . Most people do not rewrite std::list in C++ either.

    Much of the Linux kernel really is the same: normal C code (maybe slightly more complicate than average userspace code, and definitely more carefully reviewed, but definitely not magic), that depends on extra carefully written lower level primitives that are _much_ more complicated internally than they appear from the outside (like the memory allocator, printk, RCU, etc.).

    Rust is powerful enough to have libraries for register level access to micro-controllers (e.g., that encode moderately complex access rules safely in the type system (e.g. which specific set of bits is read-only or write-only, with which particular values (with nice human-readable names, even!), in which particular states of a state machine depending on other bits), all while allowing bypassing the restrictions with a simple unsafe keyword without even giving up on the nice API.

    On the C/C++ side, I've used libopencm3, MBED, CMSIS, and everyone's favorite toy, Arduino. They're, in different ways, all much more mature and complete than anything Rust has today, but nothing comes even remotely close to Rust in terms of safety and long term potential.

  • NVIDIA Security Team: “What if we just stopped…
    2 projects | /r/embedded | 7 Nov 2022
    Packages: Where would I start with e.g. running Ada on a stm32? Resources are just a bit tough to find, and there's only a single stm32 package on Alire (which was inspired by cargo). But Rust has easy to find PACs and HALs for everything in the family, plus an official guide to setting up a project, including HIL debugging and unit testing on qemu, that takes about 15 minutes.
  • Cloning a Rare ISA Card to Use a Rare CD Drive
    3 projects | | 3 Oct 2022
    > (I threw out all my C/C++ books about 15 years ago - oops!).

    The future is here for STM32:

  • Is there a database of peripheral implementations for different STM32 MCU parts?
    2 projects | /r/stm32 | 5 May 2022
  • Writing embedded firmware using Rust
    10 projects | | 19 Dec 2021
    Specifically these Rust register definitions are being auto-generated using SVD files published by the chip vendors ( For stm32 for example there are the auto-generated register definitions: and then the HAL layers on top that try to build easy to use tools on top of the registers (e.g. an SPI or USART type with write and read functions). e.g. for the stm32f4xx line
  • Any frameworks in Rust for developing on SiFive / ST / NXP boards?
    5 projects | /r/embedded | 11 Dec 2021
    For STM32, check out the Peripheral Access Crates by the stm32-rs ream. For higher-level access, I wrote This HAL library for STM32. Works on most newer variants, and includes examples for specific peripherals, and simple applications.
  • CMSIS libraries
    2 projects | /r/embedded | 6 Nov 2021
  • A note from our sponsor - #<SponsorshipServiceOld:0x00007f0920ee07e8> | 9 Jun 2023
    SaaSHub helps you find the best software and product alternatives Learn more →


Basic stm32-rs repo stats
8 days ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives