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 a number of community projects enabling the use of the Rust programming language on various SoCs and modules produced by Espressif Systems.

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

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

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

Hardware Abstraction Layer

We offer two choices for Hardware Abstraction Layers:

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

Peripheral Access Crates

The repository esp-pacs contains Peripheral Access Crates for Espressif SoCs and modules.

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 721 34

  2. espflash espflash Public

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

    Rust 455 110

  3. esp-hal esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    Rust 625 168

  4. esp-idf-hal esp-idf-hal Public

    embedded-hal implementation for Rust on ESP32 and ESP-IDF

    Rust 416 171

  5. esp-template esp-template Public

    A minimal esp-hal application template for use with cargo-generate

    Dockerfile 126 27

  6. esp-idf-template esp-idf-template Public

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

    CMake 373 43

Repositories

Showing 10 of 53 repositories
  • esp-rs/repo-activity-digest’s past year of commit activity
    Python 0 Apache-2.0 1 0 0 Updated Jul 5, 2024
  • esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    esp-rs/esp-hal’s past year of commit activity
    Rust 625 Apache-2.0 168 127 (10 issues need help) 10 Updated Jul 4, 2024
  • std-training Public

    Embedded Rust on Espressif training material.

    esp-rs/std-training’s past year of commit activity
    Rust 574 Apache-2.0 72 9 1 Updated Jul 4, 2024
  • book Public

    The Rust on ESP Book

    esp-rs/book’s past year of commit activity
    JavaScript 161 Apache-2.0 54 11 4 Updated Jul 4, 2024
  • esp-pacs Public

    Peripheral Access Crates for Espressif SoCs and modules

    esp-rs/esp-pacs’s past year of commit activity
    Rust 97 Apache-2.0 28 2 3 Updated Jul 3, 2024
  • esp-idf-hal Public

    embedded-hal implementation for Rust on ESP32 and ESP-IDF

    esp-rs/esp-idf-hal’s past year of commit activity
    Rust 416 Apache-2.0 171 30 (2 issues need help) 16 Updated Jul 2, 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 373 43 14 5 Updated Jul 2, 2024
  • esp-template Public

    A minimal esp-hal application template for use with cargo-generate

    esp-rs/esp-template’s past year of commit activity
    Dockerfile 126 Apache-2.0 27 7 0 Updated Jul 2, 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 240 MIT 35 8 1 Updated Jul 1, 2024
  • no_std-training Public

    Getting-started guide on using the Rust with Espressif SoCs using no_std.

    esp-rs/no_std-training’s past year of commit activity
    Rust 49 Apache-2.0 12 2 0 Updated Jul 1, 2024