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 740 37

  2. espflash espflash Public

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

    Rust 488 118

  3. esp-hal esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    Rust 743 207

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

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

    Rust 459 171

  5. esp-template esp-template Public

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

    Dockerfile 145 29

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

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

    CMake 433 52

Repositories

Showing 10 of 55 repositories
  • espflash Public

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

    esp-rs/espflash’s past year of commit activity
    Rust 488 Apache-2.0 118 33 (3 issues need help) 0 Updated Nov 2, 2024
  • esp-rs/repo-activity-digest’s past year of commit activity
    Python 1 Apache-2.0 1 0 0 Updated Nov 2, 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 6 Apache-2.0 6 5 2 Updated Nov 1, 2024
  • esp-hal Public

    no_std Hardware Abstraction Layers for ESP32 microcontrollers

    esp-rs/esp-hal’s past year of commit activity
    Rust 743 Apache-2.0 207 120 (8 issues need help) 21 Updated Nov 1, 2024
  • esp-pacs Public

    Peripheral Access Crates for Espressif SoCs and modules

    esp-rs/esp-pacs’s past year of commit activity
    Rust 107 Apache-2.0 33 3 1 Updated Nov 1, 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 252 MIT 34 8 1 Updated Oct 31, 2024
  • espup Public

    Tool for installing and maintaining Espressif Rust ecosystem.

    esp-rs/espup’s past year of commit activity
    Rust 227 Apache-2.0 24 13 1 Updated Oct 31, 2024
  • esp-idf-svc Public

    Type-Safe Rust Wrappers for various ESP-IDF services (WiFi, Network, Httpd, Logging, etc.)

    esp-rs/esp-idf-svc’s past year of commit activity
    Rust 324 Apache-2.0 179 37 (3 issues need help) 12 Updated Oct 30, 2024
  • esp-wifi-sys Public

    Wi-Fi and BT drivers packaged for integration into bare-metal esp-wifi.

    esp-rs/esp-wifi-sys’s past year of commit activity
    Rust 399 Apache-2.0 93 2 (1 issue needs help) 0 Updated Oct 30, 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 740 13,258 5 1 Updated Oct 30, 2024