Skip to content
@esp-rs

esp-rs

Libraries, crates and examples for using Rust on Espressif SoC's

Rust on ESP Community

This organization is home to several projects enabling the use of the Rust programming language on various SoCs and modules produced by Espressif Systems.

If you are just getting started writing Rust for ESP devices, please first read The Rust on ESP book.

For a curated list of resources for development including tools and projects, see Awesome ESP Rust.

Hardware Abstraction Layer

We offer two choices for Hardware Abstraction Layers:

Repository Description Support status
esp-rs/esp-hal Without support for the Rust standard library (no_std) Support status
esp-rs/esp-idf-hal With support for the Rust standard library (std) Support status

Build Tools

This organization contains a fork of the Rust compiler with added support for the Xtensa ISA. Pre-built binaries for said compiler fork are additionally provided for most common operating systems and architectures.

Repository Description
esp-rs/rust Rust compiler fork with Xtensa support
esp-rs/rust-build Pre-built binaries of the Rust compiler fork, plus installation scripts

Pinned Loading

  1. rust rust Public

    Forked from rust-lang/rust

    Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266

    Rust 743 39

  2. espflash espflash Public

    Serial flasher utility for Espressif SoCs and modules based on esptool.py

    Rust 496 121

  3. esp-hal esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    Rust 782 216

  4. esp-generate esp-generate Public

    Template generation tool to create no_std applications targeting Espressif's chips.

    Rust 14 7

Repositories

Showing 10 of 55 repositories
  • embuild Public

    Build support for embedded Rust: Cargo integration with other embedded build ecosystems & tools, like PlatformIO, CMake and kconfig.

    esp-rs/embuild’s past year of commit activity
    Rust 140 Apache-2.0 41 8 3 Updated Nov 29, 2024
  • esp-rs/repo-activity-digest’s past year of commit activity
    Python 1 Apache-2.0 1 0 0 Updated Nov 29, 2024
  • rust Public Forked from rust-lang/rust

    Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266

    esp-rs/rust’s past year of commit activity
    Rust 743 13,365 6 1 Updated Nov 28, 2024
  • esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    esp-rs/esp-hal’s past year of commit activity
    Rust 782 Apache-2.0 216 129 (9 issues need help) 17 Updated Nov 28, 2024
  • esp-generate Public

    Template generation tool to create no_std applications targeting Espressif's chips.

    esp-rs/esp-generate’s past year of commit activity
    Rust 14 Apache-2.0 7 7 0 Updated Nov 28, 2024
  • book Public

    The Rust on ESP Book

    esp-rs/book’s past year of commit activity
    JavaScript 182 Apache-2.0 56 12 3 Updated Nov 27, 2024
  • rust-build Public

    Installation tools and workflows for deploying/building Rust fork esp-rs/rust with Xtensa and RISC-V support

    esp-rs/rust-build’s past year of commit activity
    PowerShell 255 MIT 33 9 0 Updated Nov 27, 2024
  • awesome-esp-rust Public

    Curated list of resources for ESP32 development in the Rust programming language

    esp-rs/awesome-esp-rust’s past year of commit activity
    914 CC0-1.0 37 0 0 Updated Nov 27, 2024
  • esp-idf-template Public

    A "Hello, world!" template of a Rust binary crate for the ESP-IDF framework.

    esp-rs/esp-idf-template’s past year of commit activity
    CMake 443 Apache-2.0 53 18 6 Updated Nov 26, 2024
  • esp-flash-loader Public

    A probe-rs flash loader for Espressif chips.

    esp-rs/esp-flash-loader’s past year of commit activity
    RPC 16 Apache-2.0 6 1 1 Updated Nov 26, 2024