Embassy Embassy is the next-generation framework for embedded applications. Write safe, correct, and energy-efficient embedded code faster, using the Rust programming language, its async facilities, and the Embassy libraries. Rust + async ❤️ embedded The Rust programming language is blazingly fast and memory-efficient, with no runtime, garbage collector, or OS. It catches a wide variety of bugs at compile time, thanks to its full memory- and thread-safety, and expressive type system. Rust's async/await allows for unprecedentedly easy and efficient multitasking in embedded systems. Tasks get transformed at compile time into state machines that get run cooperatively. It requires no dynamic memory allocation and runs on a single stack, so no per-task stack size tuning is required. It obsoletes the need for a traditional RTOS with kernel context switching, and is faster and smaller than one! Batteries included Hardware Abstraction Layers HALs implement safe, idiomatic Rust APIs to use the hardware capabilities, so raw register manipulation is not needed. The Embassy project maintains HALs for select hardware, but you can still use HALs from other projects with Embassy. embassy-stm32, for all STM32 microcontroller families. embassy-nrf, for the Nordic Semiconductor nRF52, nRF53, nRF54 and nRF91 series. embassy-rp, for the Raspberry Pi RP2040 and RP23xx microcontrollers. embassy-mspm0, for the Texas Instruments MSPM0 microcontrollers. esp-rs, for the Espressif Systems ESP32 series of chips. Embassy HAL support for Espressif chips, as well as Async Wi-Fi, Bluetooth, and ESP-NOW, is being developed in the esp-rs/esp-hal repository. ch32-hal, for the WCH 32-bit RISC-V(CH32V) series of chips. mpfs-hal, for the Microchip PolarFire SoC. py32-hal, for the Puya Semiconductor PY32 series of microcontrollers. Time that Just Works - No more messing with hardware timers. embassy_time provides Instant, Duration, and Timer types that are globally available and never overflow. Real-time...
First seen: 2026-01-08 23:49
Last seen: 2026-01-09 19:52