Track Awesome Embedded Rust Updates Daily
Curated list of resources for Embedded and Low-level development in the Rust programming language
🏠 Home · 🔍 Search · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor · 😺 rust-embedded/awesome-embedded-rust · ⭐ 7.5K · 🏷️ Programming Languages
Dec 15, 2025
no-std crates / WIP
- locate-rs (⭐0): Microcontroller-optimized solver for Indoor Localization (Multilateration / TDOA) -
Nov 14, 2025
Tools / Paid and commercially available materials
- embedded-test (⭐155): A versatile test harness for embedded devices, supporting unit tests, integration tests, async tests, and more.
Oct 09, 2025
no-std crates / WIP
- hayasen (⭐26): An Embedded Rust crate with support for multiple sensors.
Oct 03, 2025
Driver crates / Other
- AP33772S-rs - I2C - no-std sync and async compatible rust driver for the AP33772S USB C Power Delivery with Extended Power Range I2C chip - github (⭐0) -
no-std crates / WIP
- post-haste (⭐7): A no_std, alloc-free async Rust library for creating modular projects.
Sep 17, 2025
Community / Community Chat Rooms
- #embassy-rs:matrix.org - For discussion of using async on Embedded Rust using the Embassy ecosystem of crates
Jul 03, 2025
Runtime Crates / Real-time tools
cortex-m-rtSupport for Cortex-M
cortex-a-rtSupport for Cortex-A
cortex-r-rtSupport for Cortex-R
riscv-rtSupport for RISC-V
esp-riscv-rtSupport for RISC-V devices from Espressif (ESP32)
xtensa-lx-rtSupport for Xtensa LX (ESP32)
mips-rtSupport for MIPS
msp430-rtSupport for MSP430
May 17, 2025
Peripheral Access Crates / STMicroelectronics
stm32h7-
May 12, 2025
Community / Community Chat Rooms
- #mspm0-rs:matrix.org - For discussion of using Embedded Rust on Texas Instruments MSPM0 (and MSPS003) devices
Tools / Paid and commercially available materials
- commitment-issues (⭐13) Compile git metadata into your binary.
Peripheral Access Crates / Texas Instruments
mspm0-metapac- PAC for all MSPM0 (and MSPS003) microcontrollers. (generated using chiptool)
HAL implementation crates / Texas Instruments
embassy-mspm0- Embassy HAL implementation for all MSPM0 (and MSPS003) microcontrollers.
Driver crates / WIP
- tmag5273 - Cross-platform no_std compatible i2c library for 3-axis Hall Effect sensor.
- paa5100je-pwm3901 (⭐2) - Cross platform no-std compatible spi async library for an Optical Flow Sensor.
Apr 23, 2025
Tools / Paid and commercially available materials
- rumbac (⭐2) is a simple CLI flasher for Arduino Nano 33 BLE Rev2 / Sense Rev2 boards, using the SAM-BA protocol to talk with the Arduino-provided bootloader, porting just enough of the
bossactool to Rust
Apr 12, 2025
no-std crates / WIP
- arbitrary-int: This crate implements arbitrary numbers for Rust. Once included, you can use types like
u5oru120
- bitbybit: macros that create bit fields and bit enums, which are useful in bit packing code (e.g. in drivers or networking code)
- bitfield-struct: Procedural macro for bitfields that allows specifying bitfields as structs
Apr 03, 2025
Real-time / Real-time Operating System (RTOS)
- Ariel OS A modular operating system written in Rust, providing multicore preemptive scheduling and application portability on top of Embassy.
Feb 27, 2025
Real-time / Real-time Operating System (RTOS)
- Zephyr An embedded RTOS, written in C, with support for writing applications in Rust.
Feb 23, 2025
Peripheral Access Crates / Espressif
esp8266-note: esp8266 is archived, no further development planned
HAL implementation crates / STMicroelectronics
stm32f1xx-hal-- Can be run on boards like the Blue-pill, Nucleo-F103RB, and similar boards
Board support crates / Sodaq
sodaq_one- Board support for the Sodaq one board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
Feb 09, 2025
Driver crates / Other
- IS31FL3728 - I2C - LED dot matrix display mode (8×8, 5x11, 6x10,7x9) - github (⭐1) -
Feb 07, 2025
Driver crates / Other
- adafruit-seesaw - I2C - Driver for devices running the Adafruit Seesaw firmware -
Feb 01, 2025
Driver crates / Other
- lcd_parallel_bus - GPIO - Async and blocking driver for LCDs based on HD44780 parallel bus -
Jan 24, 2025
Peripheral Access Crates / Raspberry Pi Silicon
rp235x-pac- Peripheral access API for the RP2350 family of dual-core microcontrollers -
HAL implementation crates / Raspberry Pi Silicon
rp235x-hal- HAL for the RP2350 family of dual-core microcontrollers (used in the Raspberry Pi Pico 2 etc.) -
Board support crates / Adafruit
adafruit-feather-rp2040- Board Support Crate for the Adafruit Feather RP2040
adafruit-itsy-bitsy-rp2040- Board Support Crate for the Adafruit ItsyBitsy RP2040
adafruit-kb2040- Board Support Crate for the Adafruit KB2040
adafruit-macropad- Board Support Crate for the Adafruit Macropad
adafruit-qt-py-rp2040- Board Support Crate for the Adafruit QT Py RP2040
Board support crates / Pimoroni
pimoroni-pico-explorer- Board Support for the Pimoroni Pico Explorer
pimoroni-pico-lipo-16mb- Board Support for the Pimoroni Pico Lipo 16MB
Board support crates / Raspberry Pi
rp-pico- Board Support Crate for the RP2040-based Raspberry Pi Pico.
Board support crates / Sparkfun
sparkfun-pro-micro-rp2040- Board Support Crate for the RP2040 based Sparkfun Pro Micro.
Jan 13, 2025
Books, blogs, and training materials / Free and public materials
- impl Rust on ESP32 Book - A hands-on guide that uses the ESP32 DevKit V1 to demonstrate how to work with various modules and sensors. (github source (⭐163))
- Pico Pico Book - A hands-on guide that uses the Pico 2 (RP2350) to demonstrate how to work with various modules and sensors. (github source (⭐98))
Dec 27, 2024
Peripheral Access Crates / NXP
mcx-pacPeripheral Access Crate for NXP MCX Series MCUs -
Dec 18, 2024
Panic handling / WIP
rp2040-panic-usb-boot: Save panic message in XIP RAM and reboot RP2040 to USB mode
Dec 04, 2024
Driver crates / Other
- AEM10900 - I2C - Energy Harvester - github (⭐1) -
- FH101RF - SPI - Wake-Up Radio - github (⭐4) -
Nov 28, 2024
Panic handling / WIP
dont_panic+dont_panic_slice: panic!()-like macro that causes linking error instead of panicking. May be used to statically ensure some code won't panic.+
no-panic: Attribute macro to require that the compiler prove a function can't ever panic.
panic-abort: Causes an abort on panics (nightly-only)
panic-halt: Halts the processor on panics
panic-itm: Prints the panic through the chip's ITM to a debugger attached to the SWO pin (Cortex-M with ITM only)
panic-never: This crate guarantees that your application is free of panicking branches.
panic-persist: A panic handler crate inspired bypanic-ramdumpthat logs panic messages to a region of RAM defined by the user, allowing for discovery of panic messages post-mortem using normal program control flow. -
panic-probe: A panic handler that exitsprobe-runwith an error code.
panic-ramdump: Writes the panic message into the beginning of RAM and enters an infinite loop; the message can be extracted by attaching a debugger (Cortex-M only)
panic-rtt: Set the panicking behavior to log to a JLINK debugger and loop.
panic-rtt-target: Logs panic messages over RTT. Usesrtt-target.
panic-semihosting: Prints the panic message via semihosting to an attached debugger (Cortex-M only)
Nov 22, 2024
License / WIP
Nov 21, 2024
Tools / Paid and commercially available materials
- xargo (⭐1.1k) Rust package manager with support for non-default std libraries — build Rust runtime for your embedded system.
- xargo is great, but since it's in maintenance mode, cargo-xbuild (⭐267) is catching up as its intended replacement.
- Knurling Tools are developed by Ferrous Systems to ease the development process for building, debugging, and testing embedded Rust systems. These tools include:
- defmt (⭐1.1k): a highly efficient logging framework that targets resource-constrained devices, like microcontrollers.
- derive-mmio (⭐14): Creating MMIO-friendly APIs for embedded peripherals.
- flip-link (⭐385), a linker wrapper that provides stack overflow protection without an MMU by flipping the standard memory layout of ARM Cortex-M programs
- app-template (⭐431), a
cargo-generatepowered project template for quickly setting up new projects using the Knurling Tools. - defmt-test (⭐10), an embedded test harness that lets you write and run unit tests as if you were using the built-in
#[test]attribute, but will run on an embedded target
Real-time / Real-time tools
- RTIC v1.0 Real-Time Interrupt-driven Concurrency — A concurrency framework for building real-time systems:
- cortex-m rtic (⭐2.2k) RTIC framework for ARM Cortex-M microcontrollers
- msp430 rtfm (⭐11) RTFM framework for MSP430 MCUs
Peripheral Access Crates / MSP430
msp430g2553Peripheral access API for MSP430G2553 microcontrollers (generated using svd2rust)- msp430 quickstart (⭐47) some examples for msp430
HAL implementation crates / STMicroelectronics
stm32f4xx-hal-- Generic HAL implementation for all MCUs of the stm32f4 series
stm32f7xx-hal-- Generic HAL implementation for all MCUs of the stm32f7 series
stm32h7xx-hal-- HAL implementation for the STMicro STM32H7xx family of microcontrollers
stm32l0xx-hal-- HAL implementation for the the STMicro STM32L0xx family of microcontrollers
stm32l4xx-hal-- Generic hal support for stm32l4 devices, has examples that can run on boards like the Nucleo-L432KC, Solo, and similar boards
stm32-hal-- HAL implementation for STM32 devices across multiple families, with a focus on newer ones like L4, L5, and H7.
HAL implementation crates / MSP430
msp430fr2x5x-hal- HAL implementation for the MSP430FR2x5x family of microcontrollers
HAL implementation crates / Silicon Labs
tomu-hal- HAL implementation targeted for Tomu USB board with EFM32HG309F64 ARMv6-M core. Has support to configure tomu bootloader (⭐75) directly from an application via the
toboot_configmacro.
- HAL implementation targeted for Tomu USB board with EFM32HG309F64 ARMv6-M core. Has support to configure tomu bootloader (⭐75) directly from an application via the
Oct 13, 2024
Tools / Paid and commercially available materials
- edc2svd (⭐7) Generate SVD files for PIC32 devices from EDC files. -
- embedded-hal-mock Mock implementation of
embedded-haltraits for testing without accessing real hardware. -
- bindgen Automatically generates Rust FFI bindings to C and C++ libraries. -
- cargo-flash A small cargo subcommand to download your binary to your target chip. -
- cargo-embed A superset of cargo-flash with additional useful features like configuration file support, an RTT terminal, or a GDB server. -
- cargo-hf2 (⭐54) A small cargo subcommand to download cargo builds to Microsoft UF2 bootloaders via HID USB . -
- espflash (⭐645) Serial flasher utility for Espressif SoCs and modules. -
- espup (⭐379) Tool for installing and maintaining Espressif Rust ecosystem. -
- uf2 (⭐31) Converts binary files to Microsoft's UF2 format for copying over to mass storage device uf2 bootloaders -
- svd-generator CLI tool to parse flattened device tree files, and create a SVD file. -
Peripheral Access Crates / Microchip
sam3x8ePeripheral access API for Atmel SAMD3X8E microcontrollers (generated using svd2rust) -
pic32-pacPeripheral access API for PIC32MX1/2xx -
Peripheral Access Crates / Nordic
nrf51Peripheral access API for nRF51 microcontrollers (generated using svd2rust) -
nrf52810-pac- Peripheral access API for the nRF52810 microcontroller (generated using svd2rust) -
nrf52811-pac- Peripheral access API for the nRF52811 microcontroller (generated using svd2rust) -
nrf52832-pac- Peripheral access API for the nRF52832 microcontroller (generated using svd2rust) -
nrf52833-pac- Peripheral access API for the nRF52833 microcontroller (generated using svd2rust) -
nrf52840-pac- Peripheral access API for the nRF52840 microcontroller (generated using svd2rust) -
nrf5340-app-pac- Peripheral access API for the nRF5340 application core (generated using svd2rust) -
nrf5340-net-pac- Peripheral access API for the nRF5340 network core (generated using svd2rust) -
nrf9160-pac- Peripheral access API for the nRF9160 system-in-package (generated using svd2rust) -
Peripheral Access Crates / NXP
k64-
lpc11uxx-
mkw41z-
imxrt-ralRegister access layer for i.MX RT series. -
SKEAZN642Peripheral access API for KEA64 family microcontrollers (generated using svd2rust) -
Peripheral Access Crates / Raspberry Pi Silicon
rp2040-pac- Peripheral access API for the RP2040 dual-core system-on-chip (generated using svd2rust) -
Peripheral Access Crates / SiFive
e310x- svd2rust generated interface to SiFive Freedom E310 MCUs -
Peripheral Access Crates / Silicon Labs
efm32pg12-pac- Peripheral access API for Silicon Labs EFM32PG12 microcontrollers -
Peripheral Access Crates / StarFive
Peripheral Access Crates / STMicroelectronics
stm32f0-
stm32f1-
stm32f2-
stm32f3-
stm32f4-
stm32f7-
stm32g0-
stm32g4-
stm32h7-
stm32l0-
stm32l1-
stm32l4-
Peripheral Access Crates / MSP430
Peripheral Access Crates / Espressif
esp32-
esp32c2-
esp32c3-
esp32c6-
esp32h2-
esp32s2-
esp32s3-
Peripheral Access Crates / GigaDevice
gd32vf103-pacPeripheral access API for GD32VF103 RISC-V microcontrollers (generated using svd2rust) -
gd32e2Peripheral access API for GD32E23x Cortex-M23 microcontrollers (generated using svd2rust) -
gd32f1Peripheral access API for GD32F1x0 Cortex-M3 microcontrollers (generated using svd2rust) -
gd32f2Peripheral access API for GD32F20x Cortex-M3 microcontrollers (generated using svd2rust) -
Peripheral Access Crates / XMC
xmc4100-
xmc4200-
xmc4300-
xmc4400-
xmc4500-
xmc4700-
xmc4800-
Peripheral Access Crates / Vorago
va108xx-
va416xx-
Peripheral Access Crates / Wiznet
w7500x-pacPeripheral Access Crate for Wiznet's W7500x microcontrollers (generated using svd2rust) -
Peripheral Access Crates / Renesas
ra2a1Peripheral Access Crate for ra2a1 microcontrollers (generated using svd2rust) -
ra2e1Peripheral Access Crate for ra2e1 microcontrollers (generated using svd2rust) -
ra2e2Peripheral Access Crate for ra2e2 microcontrollers (generated using svd2rust) -
ra2l1Peripheral Access Crate for ra2l1 microcontrollers (generated using svd2rust) -
ra4e1Peripheral Access Crate for ra4e1 microcontrollers (generated using svd2rust) -
ra4m1Peripheral Access Crate for ra4m1 microcontrollers (generated using svd2rust) -
ra4m2Peripheral Access Crate for ra4m2 microcontrollers (generated using svd2rust) -
ra4m3Peripheral Access Crate for ra4m3 microcontrollers (generated using svd2rust) -
ra4w1Peripheral Access Crate for ra4w1 microcontrollers (generated using svd2rust) -
ra6e1Peripheral Access Crate for ra6e1 microcontrollers (generated using svd2rust) -
ra6m1Peripheral Access Crate for ra6m1 microcontrollers (generated using svd2rust) -
ra6m2Peripheral Access Crate for ra6m2 microcontrollers (generated using svd2rust) -
ra6m3Peripheral Access Crate for ra6m3 microcontrollers (generated using svd2rust) -
ra6m4Peripheral Access Crate for ra6m4 microcontrollers (generated using svd2rust) -
ra6t1Peripheral Access Crate for ra6t1 microcontrollers (generated using svd2rust) -
ra6t2Peripheral Access Crate for ra6t2 microcontrollers (generated using svd2rust) -
da14531Peripheral Access Crate for DA14531 Ultra-Low Power BT 5.1 System-on-Chip -
HAL implementation crates / OS
linux-embedded-halfor embedded Linux systems like the Raspberry Pi. -
freebsd-embedded-halfor embedded (or not) FreeBSD systems. -
HAL implementation crates / Microchip
atsam4-hal- HAL for SAM4E, SAM4N and SAM4S -
atsamd-hal- HAL for SAMD11, SAMD21, SAMD51 and SAME54 -
atsamx7x-hal- HAL for SAM S70/E70/V70/V71-based devices -
pic32-hal- HAL for PIC32MX -
HAL implementation crates / Nordic
HAL implementation crates / NXP
imxrt-hal- HAL for i.MX RT series. -
HAL implementation crates / Raspberry Pi Silicon
rp2040-hal- HAL for the RP2040 dual-core system-on-chip -
HAL implementation crates / SiFive
e310x-hal- HAL for SiFive Freedom E310 MCUs -
HAL implementation crates / STMicroelectronics
HAL implementation crates / XMC
xmc4-hal-
HAL implementation crates / Renesas
da14531-halHAL crate for DA14531 Ultra-Low Power BT 5.1 System-on-Chip -
HAL implementation crates / StarFive
Architecture support crates / ARM
cortex-aLow-level access to Cortex-A processors (early state) -
cortex-mLow-level access to Cortex-M processors -
Architecture support crates / RISC-V
riscvLow-level access to RISC-V processors -
Architecture support crates / MIPS
mipsLow-level access to MIPS32 processors -
mips-mcuLow-level access to MIPS MCU cores -
Board support crates / 1BitSquared
Board support crates / Adafruit
metro_m0- Board support for the Metro M0 board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 1 support (⭐635) board.
metro_m4- Board support for the Metro M4 board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 1 support (⭐635) board.
pyportal- Board support for the PyPortal board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
pygamer- Board support for the PyGamer board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 1 support (⭐635) board.
trellis_m4- Board support for the NeoTrellis M4 board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
feather-f405- Board support for the Feather STM32F405 Express.
feather_m0- Board support for the Feather M0 board, and some variants in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 1 support (⭐635) board.
feather_m4- Board support for the Feather M4 board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 1 support (⭐635) board.
circuit_playground_express- Board support for the Circuit Playground Express board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
edgebadge- Board support for the EdgeBadge board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
gemma_m0- Board support for the Gemma M0 board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
itsybitsy_m0- Board support for the ItsyBitsy M0 board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
itsybitsy_m4- Board support for the ItsyBitsy M4 Express board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
trinket_m0- Board support for the Trinket M0 board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
neo_trinkey- Board support for the neo trinkey board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
neokey_trinkey- Board support for the neokey trinkey board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
grand_central_m4- Board support for the grand central m4 board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
qt_py_m0- Board support for the QT Py board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
Board support crates / Arduino
arduino_mkr1000- Board support for the MKR 1000 WiFi board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
arduino_mkrvidor4000- Board support for the MKR Vidor board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
arduino_mkrzero- Board support for the mkrzero board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
arduino_nano33iot- Board support for the Arduino Nano 33 IoT in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
Board support crates / Nordic
Board support crates / NXP
frdm-kw41z- FRDM-KW41Z -
Board support crates / Sparkfun
samd21_mini- Board support for the SAMD21 Mini Breakout in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
Board support crates / SeeedStudio
xiao_m0- Board support for the Seeed Studio Seeeduino XIAO in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
wio_lite_mg126- Board support for the Seeed Studio wio_lite_mg126 in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
wio_lite_w600- Board support for the Seeed Studio wio_lite_w600 in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
wio_terminal- Board support for the Seeed Studio wio_terminal in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 1 support (⭐635) board
Board support crates / SiFive
Board support crates / STMicroelectronics
f3Board Support Crate for the STM32F3DISCOVERY -
stm32f407g-discBoard Support Crate for the STM32F4DISCOVERY (WIP) -
stm32f429i-discBoard Support Crate for the STM32F429DISCOVERY (WIP) -
stm32f3-discoveryBoard Support Crate for the STM32F3DISCOVERY used in Rust Embedded Discovery book -
Board support crates / Texas Instruments
stellaris-launchpad- For the Texas Instruments Stellaris Launchpad and Tiva-C Launchpad
Board support crates / Sodaq
sodaq_sara_aff- Board support for the Sodaq sara aff board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
Board support crates / Other
serpente- Board support for the serpente board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
p1am_100- Board support for the p1am_100 board in the atsamd-rs (⭐635) repo. It is an atsamd-rs tier 2 support (⭐635) board.
Component abstraction crates / Other
accelerometer- Generic accelerometer support, including traits and types for taking readings from 2 or 3-axis accelerometers and tracking device orientations -
embedded-graphics: 2D drawing library for any size display -
radio- Generic radio transceiver traits, mocks, and helpers -
usb-device: Abstraction layer between USB peripheral crates & USB class crates -
atat: Abstraction crate to ease writing AT based driver crates -
embedded-nal: An Embedded Network Abstraction Layer -
switch-hal: An "on"/"off" abstraction for input and output switches -
Driver crates / Other
- AD983x - SPI - AD9833/AD9837 waveform generators / DDS - Intro blog post -
- adafruit-alphanum4 - I2C - Driver for Adafruit 14-segment LED Alphanumeric Backpack based on the ht16k33 chip -
- ADE791x - SPI - ADE7912/ADE7913 3-Channel, Isolated, Sigma-Delta ADC - github (⭐1) -
- ADS1x1x - I2C - 12/16-bit ADCs like ADS1013, ADS1015, ADS1115, etc. - Intro blog post -
- ADXL313 - SPI - 3-axis accelerometer -
- ADXL343 - I2C - 3-axis accelerometer -
- ADXL355 - SPI - 3-axis accelerometer - Intro blog post -
- AFE4404 (⭐3) - I2C - Pulse oximeter -
- AHT20 - I2C - Humidity and temperature sensor - github (⭐3) -
- AHT20-driver - I2C - Humidity and temperature sensor - Intro blog post - github (⭐10) -
- AnyLeaf - I2C - pH sensor module - github (⭐6) -
- AT86RF212 - SPI - Low power IEEE 802.15.4-2011 ISM RF Transceiver - Intro blog post -
- BlueNRG - SPI - driver for BlueNRG-MS Bluetooth module - Intro post
- BMA400 - I2C/SPI - Bosch 12-bit 3-axis accelerometer - github (⭐4)
- BNO055 - I2C - Bosch Sensortec BNO055 9-axis IMU driver - Intro post
- CD74HC4067 - GPIO - 16-channel digital and analog multiplexer - Intro blog post - github (⭐1) -
- dht-sensor - 1-Wire - DHT11/DHT22 temperature/humidity sensor driver - github (⭐32) -
- embedded-dht-rs - 1-Wire, I2C - DHT11/DHT20/DHT22 temperature/humidity sensor driver - github (⭐28) -
- DRV8825 - DRV8825 Stepper Motor Driver (based on Stepper) - Intro blog post -
- DS1307 - I2C - Real-time clock driver - Intro blog post -
- ebyte-e32 - SERIAL - Ebyte E32 LoRa module driver - Intro blog post -
- EEPROM24x - I2C - 24x series serial EEPROM driver - Intro blog post -
- embedded-ccs811 - I2C - Gas and VOC sensor driver for monitoring indoor air quality - Intro blog post -
- embedded-sdmmc - SPI - SD/MMC Card Driver with MS-DOS Partition and FAT16/FAT32 support - Intro post
- ENC28J60 - SPI - Ethernet controller - Intro blog post -
- HC-12 - SERIAL - Wireless serial transceiver module - Intro blog post - github (⭐1) -
- HTS221 - I2C - Humidity and temperature sensor - Intro blog post -
- IIS2MDC - I2C - ST's High accuracy, ultra-low-power, 3-axis digital output magnetometer -
- ISM330DHCX - I2C - ST's IMU with 3D accelerometer, 3D gyroscope, ML core and more -
- keypad - GPIO - Keypad matrix circuits - Intro post -
- KXCJ9 - I2C - KXCJ9/KXCJB 3-axis accelerometers - Intro blog post -
- L3GD20 - SPI - Gyroscope - Intro blog post -
- LSM303DLHC - I2C - Accelerometer + compass (magnetometer) - Intro blog post -
- MAX6675 - SPI - A driver for the MAX6675 digital thermocouple converter - Intro blog post -
- MAX6955 - I2C - Driver for Alphanumeric LED display driver - Intro blog post -
- MAX116xx-10bit - SPI - Driver for the MAX11619-MAX11621, MAX11624 and MAX11625 10-bit ADCs - Intro blog post -
- MCP25LCXX - SPI - Driver for Microchip's 25LC series of EEPROMs -
- MCP3008 - SPI - 8 channel 10-bit ADC - Intro blog post -
- MCP3425 - I2C - 16-bit ADC - Intro blog post -
- MCP794xx - I2C - Real-time clock / calendar driver - Intro blog post -
- OPT300x (⭐7) - I2C - Ambient light sensor family driver - Intro blog post -
- PAC194X (⭐3) - I2C - Single/multi channel power monitor - Intro blog post -
- port-expander - I2C - Driver for I2C port expanders (supports
PCA95xx,PCF85xx) - Intro blog post -
- pwm-pca9685 - I2C - 16-channel, 12-bit PWM/Servo/LED controller - Intro blog post -
- rainbow-hat-rs - I2C/SPI/GPIO - Pimoroni Rainbow HAT driver for Raspberry Pi - github (⭐3) -
- rotary-encoder-hal - GPIO - A rotary encoder driver using
embedded-hal- Intro blog post -
- sega-controller - GPIO - Sega controller input - github (⭐2) -
- SGP30 - I2C - Gas sensor - Intro blog post -
- SH1106 - I2C - Monochrome OLED display controller - Intro post
- shared-bus (⭐135) - I2C - utility driver for sharing a bus between multiple devices - Intro post
- shift-register-driver - GPIO - Shift register - Intro blog post -
- Si4703 - I2C - FM radio turner (receiver) driver - Intro blog post -
- SRAM23x - SPI - Microchip 23x series serial SRAM/NVSRAM driver - Intro blog post -
- SSD1306 - I2C/SPI - OLED display controller - Intro blog post -
- SSD1309 - I2C/SPI - OLED display controller - Intro blog post -
- STSPIN220 - STSPIN220 Stepper Motor Driver (based on Stepper) - Intro blog post -
- Sx127x - SPI - Long Range Low Power Sub GHz (Gfsk, LoRa) RF Transceiver - Intro blog post -
- Sx128x - SPI - Long range, low power 2.4 GHz (Gfsk, Flrc, LoRa) RF Transceiver - Intro blog post -
- TC72 - SPI - Microchip TC72 temperature sensor -
- TCN75A - I2C - Microchip TCN75A temperature sensor -
- TMP006 - I2C - Contact-less infrared (IR) thermopile temperature sensor driver - Intro post
- TMP1x2 - I2C - TMP102 and TMP112x temperature sensor driver - Intro blog post
- TSIC - GPIO - TSIC 306 temperature sensor driver - Intro blog post
- TSL256X - I2C - Light Intensity Sensor - Intro blog post -
- VEML6030/VEML7700 - I2C - Ambient light sensors - Intro blog post -
- VEML6075 - I2C - UVA and UVB light sensor - Intro blog post -
- usbd-serial - USB CDC-ACM class (serial) implementation - github (⭐130) -
- usbd-hid - USB HID class implementation - github (⭐108) -
- usbd-hid-device - USB HID class implementation without
unsafe- github (⭐14) -
- usbd-human-interface-device (⭐141) - Batteries included embedded USB HID library for
usb-device. Includes concrete Keyboard (boot and NKRO), Mouse and Consumer Control implementations as well as support for building your own HID classes - github (⭐141) -
- usbd-midi - USB MIDI class implementation - github (⭐59) -
- usbd-webusb - USB webUSB class implementation - github (⭐23) -
- SHTCx - I2C - Temperature / humidity sensors - github (⭐15) -
- ST7789 - SPI - An embedded-graphics compatible driver for the popular lcd family from Sitronix used in the PineTime watch - github (⭐62) -
- Adafruit-7segment - I2C - Driver for Adafruit 7-segment LED Numeric Backpack based on the ht16k33 chip - github (⭐3) -
- ST7565 - SPI - An embedded-graphics compatible driver for LCD displays based on the ST7565 chip - github (⭐8) -
- tb6612fng - A
no_stddriver for the TB6612FNG motor driver -
- vl53l1x-uld - I2C - A pure-rust driver for the ST VL53L1X -
- i2c-multiplexer - I2C - An I2C Multiplexer library that supports the PCA9546 and TCA9546A chips - github (⭐2) -
- SHT31-rs - I2C - Fully supported SHT temperature / humidity sensors - github (⭐6) -
Driver crates / WIP
- AD9850 - Embedded driver for the AD9850 DDS synthesizer chip -
- APDS9960 - I2C - Proximity, ambient light, RGB, and gesture sensor -
- ad57xx (⭐1) - SPI - Quad and dual channel DAC -
- BME280 - A rust device driver for the Bosch BME280 temperature, humidity, and atmospheric pressure sensor and the Bosch BMP280 temperature and atmospheric pressure sensor.
- bme680 (⭐30) - I2C - Temperature / humidity / gas / pressure sensor -
- BMI160 - I2C / SPI - Inertial Measurement Unit -
- BMP280 - A platform agnostic driver to interface with the BMP280 pressure sensor
- CC1101 - SPI - Sub-1GHz RF Transceiver -
- DS323x - I2C/SPI - Real-time clocks (RTC): DS3231, DS3232 and DS3234 -
- epd-waveshare - SPI - driver for E-Paper Modules from Waveshare
- embedded-morse - Output morse messages -
- Ft6x36 - I2C - Rust driver for focal tech touch screen FT6236, FT6336 -
- grove-matrix-led-my9221-rs - I2C - Rust driver for Grove RGB Matrix Led with my-9221 Driver -
- GridEYE - I2C - Rust driver for Grid-EYE / Panasonic AMG88(33) -
- HD44780-driver - GPIO - LCD controller -
- HM11 - USART - HM-11 bluetooth module AT configuration crate -
- HRS3300 - I2C - Heart rate sensor / monitor used in the PineTime smartwatch, for example. -
- HDC20xx - I2C - Temperature and humidity sensor compatible with HDC2080, HDC2021 and HDC2010. -
- hub75 (⭐28) - A driver for rgb led matrices with the hub75 interface -
- hzgrow-r502 - UART capacitive fingerprint reader -
- INA260 - I2C - power monitor -
- ISL29125 - I2C - RGB Color Light Sensor with IR Blocking Filter -
- IST7920 - SPI monochrome LCD display -
- LM75 - I2C - Temperature sensor and thermal watchdog (also compatible with LM75A, LM75B, LM75C, AT30TS75A, DS1775, DS75, DS7505, G751, MAX7500/1/2/3/4, MAX6625, MCP9800/1/2/3, STDS75, TCN75, PCT2075) -
- lp586x - I2C/SPI - LED matrix driver
- LSM303AGR - I2C/SPI - 3D accelerometer + 3D magnetometer. (Used in e.g. micro:bit boards)
- LSM303C - A platform agnostic driver to interface with the LSM303C (accelerometer + compass)
- LSM9DS1 - I2C/SPI - 9-axis motion sensor module
- ltr-559 - I2C - Ambient Light Sensor and Proximity sensor
- lvgl (⭐854) - no_std LittleVGL (⭐22k) port -
- M95320 - SPI - STMicroelectronics Serial flash EEPROM -
- MAX17048/9 - I2C - LiPo Fuel gauge, battery monitoring IC -
- MAX170xx (⭐12) - I2C - LiPo Fuel gauge, battery monitoring ICs compatible with MAX17043/4, MAX17048/9, MAX17058/9. -
- MAX3010x - I2C - Pulse oximeter and heart-rate sensor. ATM Compatible with MAX30102. -
- MAX31855 (⭐4) - SPI - Thermocouple digital converter -
- MAX31865 - SPI - RTD to Digital converter -
- MAX44009 - I2C - Ambient light sensor -
- MAX7219 (⭐17) - SPI - LED display driver -
- MCP4725 - I2C - 12-bit DAC -
- MCP49xx - SPI - 8/10/12-bit DACs like MCP4921, MCP4922, MCP4801, etc. -
- MCP9808 - I2C - Temperature sensor -
- MCP4x - SPI - Digital potentiometers (digipot) like MCP41010, MCP41050, MCP41100, MCP42010, MCP42050 and MCP42100, etc. -
- midi-port - UART - MIDI input -
- MLX9061x - I2C - MLX90614/MLX90615 Contact-less infrared (IR) temperature sensor driver. -
- MMA8x5x - I2C - Tri-axis accelerometers like MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC and MMA8653FC. -
- MPU6050 - I2C - no_std driver for the MPU6050
- MPU9250 - no_std driver for the MPU9250 (and other MPU* devices) & onboard AK8963 (accelerometer + gyroscope + magnetometer IMU)
- MS5637 - no_std I2C driver for the MS5637 temperature and pressure sensor
- PCD8544_rich - SPI - Rich driver for 48x84 pixels matrix LCD controller -
- PCF857x - I2C - I/O expanders: PCF8574, PCF8574A, PCF8575
- radio-at86rf212 - SPI - Sub GHz 802.15.4 radio transceiver
- SCD30 - I2C - CO₂ sensor -
- SPL06-007 (⭐1) - I2C - Pressure and temperature sensor -
- spi-memory (⭐26) - SPI - A generic driver for various SPI Flash and EEPROM chips -
- SSD1320 - SPI - Graphical OLED display controller -
- SSD1322 - SPI - Graphical OLED display controller -
- SSD1322_rs - SPI - Async graphics driver for SSD1322 screen -
- SSD1351 - SPI - 16bit colour OLED display driver -
- SSD1675 - SPI - Tri-color ePaper display controller -
- st7032i (⭐2) - I2C - Dot Matrix LCD Controller driver (Sitronix ST7032i or similar). -
- ST7735-lcd - SPI - An embedded-graphics compatible driver for the popular lcd family from Sitronix
- ST7920 - SPI - LCD displays using the ST7920 controller
- TCS3472 - I2C - RGB color light sensor -
- TPA2016D2 - I2C - A driver for interfacing with the Texas Instruments TPA2016D2 Class-D amplifier -
- VEML6040 - I2C - RGBW color light sensor -
- VEML6070 - I2C - UVA light sensor -
- VEML7700 - I2C - Ambient light sensors -
- vesc-comm (⭐1) - A driver for communicating with VESC-compatible electronic speed controllers
- VL53L0X - A platform agnostic driver to interface with the vl53l0x (time-of-flight sensor)
- w5500 - SPI - Ethernet Module with hardwired protocols : TCP, UDP, ICMP, IPv4, ARP, IGMP, PPPoE -
- xCA9548A - I2C - I2C switches/multiplexers: TCA9548A, PCA9548A -
no-std crates / WIP
- adskalman: Kalman filter and Rauch-Tung-Striebel smoothing implementation.
- atomic: Generic Atomic wrapper type.
- bbqueue: A SPSC, statically allocatable queue based on BipBuffers suitable for DMA transfers -
- bitmatch: A crate that allows you to match, bind, and pack the individual bits of integers. -
- biquad: A library for creating second-order IIR filters for signal processing based on Biquads, where both a Direct Form 1 (DF1) and Direct Form 2 Transposed (DF2T) implementation is available.
- bit_field: manipulating bitfields and bitarrays -
- bluetooth-hci: device-independent Bluetooth Host-Controller Interface implementation.
- bounded-registers A high-assurance memory-mapped register code generation and interaction library.
bounded-registersprovides a Tock-like API for MMIO registers with the addition of type-based bounds checking. -
- cam-geom: Geometric models of cameras for photogrammetry.
- combine: parser combinator library -
- console-traits (⭐3): Describes a basic text console. Used by menu (⭐60) and implemented by vga-framebuffer (⭐31).
cmim, or Cortex-M Interrupt Move: A crate for Cortex-M devices to move data to interrupt context, without needing a critical section to access the data within an interrupt, and to remove the need for the "mutex dance" -
cmsis-dsp-sys: Rust FFI bindings to the Arm CMSIS_5 (⭐1.5k) math library -
- dcmimu: An algorithm for fusing low-cost triaxial MEMS gyroscope and accelerometer measurements
- debouncr: A simple no-std input debouncer to detect rising/falling edges with minimal RAM requirements.
- device-driver: A toolkit to write better device drivers, faster.
- dummy-pin: Dummy implementations of the input/output pin traits.
- embedded-cli: CLI library with autocompletion, subcommands, options, help and history support.
- embedded-crc-macros: Macros implementing portable CRC algorithms and build-time lookup table generation.
- embedded-websocket: A lightweight server and client websocket library for embedded systems.
- ethercrab (⭐373): A Rust implementation of the EtherCAT industrial automation protocol -
- heapless: provides
Vec,String,LinearMap,RingBufferbacked by fixed-size buffers -
- idsp: integer DSP algorithms (trigonometry, filtering, PLL...) tuned for precision and speed -
- ieee802154: Partial implementation of the IEEE 802.15.4 standard -
- infrared: infrared remote control library for embedded rust -
- intrusive-collections: intrusive (non-allocating) singly/doubly linked lists and red-black trees -
- inverted-pin: Implementations of the input/output pin traits with inverted logic.
- irq: utilities for writing interrupt handlers (allows moving data into interrupts, and sharing data between them) -
- managed: provides
ManagedSlice,ManagedMapbacked by either their std counterparts or fixed-size buffers for#![no_std]. -
- menu (⭐60): A basic command-line interface library. Has nested menus and basic help functionality.
- micropb: Rust Protobuf library targetting embedded systems and no_std environments without an allocator. -
- mqtt-sn: Implementation of the MQTT-SN protocol -
- microfft: Embedded-friendly (
no_std, no-alloc) fast fourier transforms -
- micromath (⭐480): Embedded Rust math library featuring fast, safe floating point approximations for common arithmetic operations, 2D and 3D vector types, and statistical analysis -
- miniconf: Lookup/enumerate/serialize/deserialize nodes in trees of heterogeneous structs/arrays by path/key -
- minimq: A minimal MQTT5 client designed for no_std platforms -
- nalgebra: general-purpose and low-dimensional linear algebra library -
- nom: parser combinator framework -
- null-terminated: generic null-terminated arrays -
- num-format: Crate for producing string representations of numbers, formatted according to international standards, e.g. "1,000,000" for US English -
- pc-keyboard (⭐113): A PS/2 keyboard protocol driver. Transport (bit-banging or SPI) agnostic, but can convert Set 2 Scancodes into Unicode.
- qei : A qei wrapper that allows you to extend your qei timers from a 16-bit integer to a 64-bit integer. -
- qemu-exit: Quit a running QEMU session with user-defined exit code. Useful for unit or integration tests using QEMU. -
- RampMaker: Stepper Motor Acceleration Ramp Generator -
- register-rs (⭐49): Unified interface for MMIO and CPU registers. Provides type-safe bitfield manipulation.
register-rsis Tock registers with added support for CPU register definitions using the same API as for the MMIO registers. This enables homogeneous interfaces to registers of all kinds. -
- scroll: extensible and endian-aware Read/Write traits for generic containers -
- sized-dst: Owned container for dynamically-sized types (such as trait objects) backed by stack memory. -
- smbus-pec: Minimal portable System Management Bus Packet Error Code calculation algorithm.
- smoltcp (⭐4.3k): a small TCP/IP stack that runs without
alloc.
- sntpc: Rust SNTP client to get a timestamp from NTP servers. -
- Stepper: Universal Stepper Motor Interface -
- tinybmp: No-std, no-alloc BMP parser for embedded systems. Introductory blog post -
- vga-framebuffer (⭐31): A VGA signal generator and font renderer for VGA-less microcontrollers. Used by Monotron (⭐194) to generate 48 by 36 character display using 3 SPI peripherals and a timer.
- wyhash: A fast, simple and portable hashing algorithm and random number generator. -
- adafruit-bluefruit-protocol: A
no_stdparser for the Adafruit Bluefruit LE Connect controller protocol. -
- light-cli (⭐16): a lightweight heapless cli interface
- Rubble (⭐404): A pure-Rust embedded BLE stack
Sep 11, 2024
Tools / Paid and commercially available materials
- probe-rs (⭐2.5k): a modern, embedded debugging toolkit, written in Rust
Aug 12, 2024
no-std crates / WIP
- wtx (⭐332): Among other things, provides implementations to interact with HTTP, WebSockets and Databases.
Jul 03, 2024
Books, blogs, and training materials / Free and public materials
- The Embedded Rust Book - An introductory book about using the Rust Programming Language on "Bare Metal" embedded systems, such as Microcontrollers.
- The Rust on ESP Book - This book aims to provide a comprehensive guide on using the Rust programming language with Espressif SoCs and modules.
- Embedded Rust (no_std) on Espressif - Training for Rust using no_std approach development on ESP32-C3.
- Embedded Rust (std) on Espressif - Training for Rust using std approach development on ESP32-C3 by Ferrous Systems.
- Discovery by @rust-embedded — this book is an introductory course on microcontroller-based embedded systems that uses Rust as the teaching language. Original author: @japaric
- Cortex-M Quickstart by @japaric – a template and introduction to embedded Rust, suitable for developers familiar with embedded development but new to embedded Rust.
- MicroRust Introductory book for embedded development in Rust on the micro:bit.
- Physical Computing With Rust A (WIP) guide to physical computing with Rust on the Raspberry Pi.
- Writing an embedded OS in Rust on the Raspberry Pi (⭐14k) A set of tutorials that give a guided, step-by-step tour of how to write a monolithic Operating System kernel for an embedded system from scratch. Runs on the Raspberry Pi 3 and the Raspberry Pi 4.
- Writing embedded drivers in Rust isn't that hard A guide to building an embedded-hal driver. Part 2
- Ferrous Systems' Embedded Training Courses: 2020-current edition (⭐256) A hands-on training course for beginner and advanced learners of Embedded Rust, based on Nordic Semiconductor's nRF52840 hardware. This training was given at Oxidize Conferences and by Ferrous Systems to corporate customers.
- Ferrous Systems' Knurling Sessions are hands-on embedded projects that explore specific concepts using generally available hardware, building full systems and components using microcontrollers, sensors, and actuators.
- DSP on STM32F407G-DISC1 (⭐33) Unofficial oxidization of the Digital Signal Processing using Arm Cortex-M based Microcontrollers: Theory and Practice book. The book isn't necessary to enjoy the examples and learn a functional DSP Rust coding style.
- Building a sailing starter board with Rust (RTIC) A step-by-step story/guide to build STM32-based PCB and program it with Rust for fun and games.
- STM32F4xx with Embedded Rust at the HAL A blog containing a series of tutorials demonstrating the use of several peripherals through simple examples leveraging the stm32f4xx-hal crate.
- Embedded Rust programming playlist Various livestreams with Embedded Rust live coding
- ESP32-C3 Rust Tutorials Short videos and Github project (⭐77) implementing various peripherals of the ESP32-C3 with the end goal of creating a complete data logger application.
- Tweede golf's workshop - A full workshop about Rust and embedded Rust. The embedded parts use the nRF52840-DK and a LIS3DH breakout board. (github source (⭐26))
Books, blogs, and training materials / Paid and commercially available materials
- Simplified Embedded Rust: Standard Library Edition - This book provides a quick path to start learning embedded Rust with minimal setup. Book is based on ESP devices and the Wokwi Simulator. This edition uses the standard library development approach which is based on the ESP-IDF framework.
- Simplified Embedded Rust: Core Library Edition - This book provides a quick path to start learning embedded Rust with minimal setup. Book is based on ESP devices and the Wokwi Simulator. This edition uses the core library development approach for bare metal development.
Tools / Paid and commercially available materials
- svd2rust (⭐807) Generate Rust structs with register mappings from SVD files.
- cortex-m semihosting (⭐0) Semihosting for ARM Cortex-M processors
- bobbin-cli (⭐114) A Rust command line tool to simplify embedded development and deployment.
- ferros (⭐119) A Rust-based userland which also adds compile-time assurances to seL4 development.
- cargo-bloat (⭐2.7k) Find out what takes most of the space in your executable.
- cargo-call-stack Static, whole program stack usage analyzer.
- cargo-dfu Cargo extension for flashing embedded rust programs via DFU.
Real-time / Real-time Operating System (RTOS)
- Drone OS An Embedded Operating System for writing real-time applications in Rust.
- FreeRTOS.rs (⭐239) Rust interface for the FreeRTOS API
- FreeRTOS-rust (⭐456) Rust interface for FreeRTOS with Rust entry point and build support crate.
- RIOT-OS directly supports applications written in Rust, both in terms of build system integration and by having safe and idiomatic wrappers.
- Tock An embedded operating system designed for running multiple concurrent, mutually distrustful applications on low-memory and low-power microcontrollers
- Hubris (⭐3.3k) A real-time operating system built by Oxide Computer to run the Service Controller processor in the mainboards of their rack-mount servers.
Peripheral Access Crates / Texas Instruments
tm4c123xPeripheral access API for TM4C123x microcontrollers (generated using svd2rust)
tm4c129xPeripheral access API for TM4C129x microcontrollers (generated using svd2rust)
Peripheral Access Crates / MSP430
msp430fr2355Peripheral access API for MSP430FR2355 microcontrollers (generated using svd2rust)
Old books, blogs, and training materials / WIP
- Exploring Rust on Teensy by @branan — Beginner set of articles on getting into embedded dev in Rust.
- Pragmatic Bare Metal Rust A starter article about starting Rust development on STM32 microcontrollers (cubeMX + FFI).
- Using Rust in an Embedded Project: A Simple Example Article and some links on setting up Rust cross-compiling.
- Robigalia general purpose robust operating system in Rust running on secure seL4 microkernel.
- intermezzOS A small teaching operating system in Rust. A book with some explanations is also included.
- Fearless concurrency by @japaric — How to easily develop Rust programs for pretty much any ARM Cortex-M microcontroller with memory-safe concurrency.
- Internet of Streams A video series by @jamesmunns building a bare metal IoT Sensor Node Platform from (nearly) scratch in Rust
- Ferrous Systems' Embedded Training Courses: 2019 edition (⭐119) A hands-on training course for beginner and advanced learners of Embedded Rust, based on Nordic Semiconductor's nRF52 and Decawave's DWM1001-DEV hardware. This training was given at Oxidize Conferences and by Ferrous Systems to corporate customers.
May 29, 2024
no-std crates / WIP
- lorawan-encoding (⭐396): A LoRaWAN packet codec.
May 21, 2024
Firmware projects / WIP
- LuLuu (⭐9): Firmware for a custom RP2040-based display controller that streams animated images from a microSD card to a small LCD display.
May 03, 2024
Firmware projects / WIP
- prinThor (⭐205): 3DPrinter/CNC/Engraver firmware framework powered by rust embassy for stm32 families and rp2040.
Apr 15, 2024
Community / Community Chat Rooms
- rust-embedded:QQ group - Chinese community for Rust embedded
Jan 24, 2024
no-std crates / WIP
- lorawan-device (⭐396): A LoRaWAN MAC implementation supporting both event-driven and async mode.
Dec 20, 2023
Books, blogs, and training materials / Free and public materials
- Writing an OS in Rust A blog series creating a small operating system in Rust
Board support crates / Teensy
teensy4-rsBoard Support crate for the [Teensy 4.0]
Driver crates / WIP
- DS3231 (⭐7) - I2C - real-time clock
- DS3234 (⭐2.1k) - SPI - Real-time clock
- HX711 (⭐9) - GPIO - An interrupt-based driver for the HX711 Load Cell Amplifier IC. no-std.
Firmware projects / WIP
- air-gradient-pro-rs (⭐11): Bootloader, firmware, and CLI tools for the AirGradient PRO
- Card/IO ECG (⭐46): Firmware for a business-card-sized ECG device with Wifi connectivity
Dec 08, 2023
Peripheral Access Crates / Microchip
atsamx7x-rustPeripheral access API for Microchip (formerly Atmel) SAM S70/E70/V70/V71 microcontrollers. This git repo hosts both the peripheral access crate and the hal.
Oct 17, 2023
Firmware projects / WIP
- rmk (⭐1.4k): Mechanical keyboard firmware for stm32/rp2040, supports vial/dynamic keymap/eeprom, written in Rust
Oct 10, 2023
Community / Community Chat Rooms
- #ethercrab:matrix.org - For discussion of general EtherCAT and the Rust implementation, EtherCrab
Sep 05, 2023
Firmware projects / WIP
- BillMock (⭐16): Firmware for credit card terminal add-on hardware to install on Korean arcade machines
Aug 22, 2023
no-std crates / WIP
- Slint: Declarative GUI framework that works on microcontrollers.
Jul 18, 2023
Firmware projects / WIP
- Stabilizer (⭐138): Firmware for a DSP tool used in quantum physics experimentation, includes telemetry via MQTT and run-time configuration
- Booster (⭐13): Firmware for an RF power amplifier, including telemetry via MQTT and run-time configuration
- Thermostat EEM (⭐8): Firmware for a multi-channel temperature controller used in physics experiments
May 30, 2023
Driver crates / Other
- FUSB302B (⭐22) - I2C - Programmable USB Type‐C Controller with USB Power Delivery - github (⭐22)
no-std crates / WIP
- usb-pd (⭐22): USB-PD library, supports using the FUSB302B as a Sink driver, with Source functionality planned.
Apr 21, 2023
HAL implementation crates / Espressif
esp-idf-hal- An embedded-hal implementation for Rust on ESP32 microcontrollers and ESP-IDF
esp-hal- A
no_stdHardware Abstraction Layers for ESP32 microcontrollers
- A
Apr 19, 2023
Firmware projects / WIP
- μLA (⭐900): Micro Logic Analyzer for RP2040
Apr 01, 2023
Community / Community Chat Rooms
- #rust-embedded-space:matrix.org Most Embedded Rust related Matrix rooms are in the Rust Embedded Space
Mar 31, 2023
Board support crates / STMicroelectronics
nucleo-h723zgBoard support crate for the Nucleo H723ZG
Mar 29, 2023
no-std crates / WIP
- crossbus (⭐126): A Platform-Less, Runtime-Less Actor Computing Model.
Dec 06, 2022
Board support crates / Texas Instruments
tm4c129-launchpad- For the Texas Instruments TM4C129-XL Launchpad board
Oct 20, 2022
Driver crates / WIP
- atwinc1500-rs - SPI - A host driver for the Atwinc1500 network controller
Jul 18, 2022
no-std crates / WIP
- moonboot (⭐26): OTA Bootloader Construction Framework for Rust no_std environments, especially embedded devices without an OS
Jun 15, 2022
no-std crates / WIP
- drogue-device (⭐201): A distribution of tools and examples for building embedded applications in Rust.
- ector (⭐61): An async actor framework for embedded, based on embassy.
- embedded-update (⭐26): Pluggable firmware update protocol for embedded devices.
- embedded-tls (⭐211): A TLS 1.3 implementation that runs in a no-std environment.
Apr 03, 2022
Board support crates / STMicroelectronics
nucleo-h743ziBeginner-oriented support crate for the Nucleo H743ZI and Nucleo H743ZI2
Mar 29, 2022
Community / Community Chat Rooms
- #esp-rs:matrix.org - For discussion of using Embedded Rust on Espressif devices
Jan 09, 2022
Community / Community Chat Rooms
- #atsamd-rs:gitter.im - For discussions of using Embedded Rust on ATSAMD devices
Jan 08, 2022
Peripheral Access Crates / Microchip
atsame53Peripheral access API for Microchip (formerly Atmel) SAME53 microcontrollers. This git repo hosts both the peripheral access crate and the hal.
Dec 30, 2021
no-std crates / WIP
- fixed-fft: Fixed-point Fast Fourier Transform -
Dec 26, 2021
HAL implementation crates / Texas Instruments
Dec 20, 2021
Tools / Paid and commercially available materials
- Embassy start (⭐27) is a GitHub repo template for setting up async embedded Rust projects that use Embassy (⭐7.9k). This particular template targets nRF hardware and networking using the Uarte for the purposes of illustration only.
Dec 17, 2021
HAL implementation crates / Vorago
Board support crates / Vorago
Oct 26, 2021
no-std crates / WIP
- scapegoat: Safe, stack-only alternative to
BTreeSetandBTreeMap. -
Oct 14, 2021
Tools / Paid and commercially available materials
- embedded-hal-compat (⭐18), a compatibility layer to provide interoperability between
v0.2.xandv1.x.xhal implementations and drivers
Aug 24, 2021
Community / Community Chat Rooms
- embedded.rs-wasm-iot - English Telegram chat about Rust and WASM for microcontrollers and IoT
- #rp-rs:matrix.org - For discussion of using Embedded Rust on RP2040 based devices
Aug 23, 2021
Community / Community Chat Rooms
- #avr-rust:gitter.im - For discussion of using Embedded Rust on AVR devices
- #stm32-rs:matrix.org - For discussion of using Embedded Rust on STM32 based devices
Apr 13, 2021
HAL implementation crates / GigaDevice
gd32f1x0-hal-- HAL implementation for GD32F1x0 microcontrollers
Jan 20, 2021
no-std crates / WIP
- embassy (⭐9): A set of embedded async tools to make async/await a first-class option for embedded development
Jan 14, 2021
Component abstraction crates / Other
embedded-storage: An Embedded Storage Abstraction Layer
Aug 31, 2020
no-std crates / WIP
- static-bytes (⭐7): Help work with buffers without dynamic allocation. Implement traits from bytes crate.
Jul 31, 2020
no-std crates / WIP
- gdbstub: zero-allocation, pure Rust implementation of the GDB Remote Serial Protocol -
Jun 26, 2020
Driver crates / WIP
- ublox-cellular-rs (⭐24) - Serial - Cellular driver for the full Ublox cellular serial based family
Jun 12, 2020
Community / Community Chat Rooms
- #rtic-rs:matrix.org - For discussion of the Real-Time Interrupt-driven Concurrency framework
Mar 30, 2020
no-std crates / WIP
- endian_codec: (En/De)code rust types as packed bytes with specific order (endian). Supports derive. -
Feb 17, 2020
Community / Community Chat Rooms
- You can usually find community members (including embedded WG members) in the official
#rust-embedded:matrix.orgMatrix room
- embedded.rs - Telegram chat about Rust for microcontrollers in the Russian language
- #nrf-rs:matrix.org - For discussion of using Embedded Rust on Nordic Semiconductor devices
- #probe-rs:matrix.org - For discussion of the Probe-rs debugging toolkit
- #rust-embedded-graphics:matrix.org - For discussion of the
embedded-graphicscrate and ecosystem
Feb 07, 2020
Peripheral Access Crates / Ambiq Micro
ambiq-apollo1-pacPeripheral access API for Ambiq Apollo 1 microcontrollers (generated using svd2rust)
ambiq-apollo2-pacPeripheral access API for Ambiq Apollo 2 microcontrollers (generated using svd2rust)
ambiq-apollo3-pacPeripheral access API for Ambiq Apollo 3 microcontrollers (generated using svd2rust)
ambiq-apollo3p-pacPeripheral access API for Ambiq Apollo 3 Plus microcontrollers (generated using svd2rust)
Jan 26, 2020
HAL implementation crates / GigaDevice
gd32vf103xx-hal-- HAL for GD32VF103xx microcontrollers
Board support crates / SeeedStudio
seedstudio-gd32v- Board support crate for the GD32 RISC-V Dev Board- Contains runnable examples for this board
Board support crates / Sipeed
longan-nano- Board support package for the Longan Nano board- Contains runnable examples for this board
Jan 11, 2020
Peripheral Access Crates / Microchip
atsamd11Peripheral access API for Microchip (formerly Atmel) SAMD11 microcontrollers. This git repo hosts both the peripheral access crate and the hal.
Jan 10, 2020
HAL implementation crates / OS
ftdi-embedded-halfor FTDI FTx232H chips connected to Linux systems via USB
HAL implementation crates / NXP
lpc8xx-hal- HAL for lpc82x and lpc845 -
Component abstraction crates / Other
smart-leds: Support for addressable LEDs including WS2812 and APA102
Driver crates / Other
- MMA7660FC - I2C - 3-axis accelerometer - Intro blog post
Driver crates / WIP
- AFE4400 (⭐6) - SPI - Pulse oximeter
- AS5048A (⭐3) - SPI - AMS AS5048A Magnetic Rotary Encoder
- AXP209 (⭐5) - I2C - Power management unit
- BH1750 (⭐2) - I2C - ambient light sensor (lux meter)
- embedded-nrf24l01 - SPI+GPIO - 2.4 GHz radio
- HC-SR04 (⭐17) - DIO - Ultrasound sensor
- HD44780 (⭐12) - Parallel port - LCD controller
- iAQ-Core (⭐2) - I2C - iAQ-Core-C/iAQ-Core-P Gas and VOC sensor driver for monitoring indoor air quality.
- ILI9341 (⭐68) - SPI - TFT LCD display
- LS010B7DH01 (⭐7) - SPI - Memory LCD
- MAG3110 (⭐1) - I2C - Magnetometer
- MFRC522 (⭐31) - SPI - RFID tag reader/writer
- motor-driver (⭐11) - Motor drivers: L298N, TB6612FNG, etc.
- NRF24L01 (⭐29) - SPI - 2.4 GHz wireless communication
- PCD8544 (⭐0) - SPI - 48x84 pixels matrix LCD controller
- RFM69 (⭐12) - SPI - ISM radio transceiver
- RN2xx3 (⭐5) - Serial - A driver for the RN2483 / RN2903 LoRaWAN modems by Microchip
- SHT2x (⭐2) - I2C - temperature / humidity sensors
- SHT3x (⭐9) - I2C - Temperature / humidity sensors
- SI5351 (⭐4) - I2C - clock generator
- SI7021 (⭐5) - I2C - Humidity and temperature sensor
- stm32-eth (⭐159) - MCU - Ethernet
- SX1278 (⭐11) - SPI - Long range (LoRa) transceiver
- SX1509 (⭐1) - I2C - IO Expander / Keypad driver
no-std crates / WIP
- gcode (⭐96): A gcode parser for no-std applications -
Dec 29, 2019
Peripheral Access Crates / Microchip
atsame54Peripheral access API for Microchip (formerly Atmel) SAME54 microcontrollers. This git repo hosts both the peripheral access crate and the hal.
Oct 11, 2019
HAL implementation crates / GigaDevice
gd32vf103-hal-- (WIP) Hardware abstract layer (HAL) for the GD32VF103 RISC-V microcontroller
Sep 04, 2019
HAL implementation crates / OS
bitbang-halsoftware protocol implementations for microcontrollers with digital::OutputPin and digital::InputPin
HAL implementation crates / NXP
Jun 25, 2019
Peripheral Access Crates / Microchip
avr-devicePeripheral access API for Microchip (formerly Atmel) AVR microcontroller family.
Board support crates / Arduino
avr-hal- Board support crate for several AVR-based boards including the Arduino Uno and the Arduino Leonardo
May 04, 2019
Peripheral Access Crates / Microchip
atsamd21Peripheral access API for Microchip (formerly Atmel) SAMD21 microcontrollers. This git repo hosts both the peripheral access crate and the hal.
atsamd51Peripheral access API for Microchip (formerly Atmel) SAMD51 microcontrollers. This git repo hosts both the peripheral access crate and the hal.
Jan 26, 2019
Community
- Embedded WG (⭐2.1k), including newsletters with progress updates.
Nov 08, 2018
Board support crates / Sony
prussia- SDK for the PlayStation 2.
Sep 27, 2018
no-std crates / WIP
- OxCC (⭐22): A port of Open Source Car Control written in Rust
Aug 01, 2018
Board support crates / Special Purpose
betafpv-f3- For the BetaFPV F3 drone flight controller
Jul 09, 2018
Board support crates / Texas Instruments
monotron- A 1980s home-computer style application for the Texas Instruments Stellaris Launchpad. PS/2 keyboard input, text output on a bit-bashed 800x600 VGA signal. Uses menu (⭐60), vga-framebuffer (⭐31) and pc-keyboard (⭐113).
May 02, 2018
Firmware projects / WIP
- anne-key (⭐574): Alternate keyboard firmware for the Obins ANNE Pro
Apr 01, 2018
HAL implementation crates / STMicroelectronics
stm32f0xx-hal-- Has examples that can run on boards like the Nucleo-F042K6 and similar boards
Board support crates / STMicroelectronics