An open API service indexing awesome lists of open source software.

https://github.com/intgr/esp-hello

Hello world from ESP32 C6
https://github.com/intgr/esp-hello

Last synced: about 1 month ago
JSON representation

Hello world from ESP32 C6

Awesome Lists containing this project

README

          

# esp-hello

ESP32-C6 project using Rust and ESP-IDF.

## Prerequisites

```bash
# System packages (Ubuntu)
sudo apt install \
build-essential \
rustup \
python3-pip \
python3-venv \
libxml2-dev \
git \
curl

# HACK: esp-clang was built against older libxml2
sudo ln -sf /usr/lib/x86_64-linux-gnu/libxml2.so.16 /usr/lib/x86_64-linux-gnu/libxml2.so.2

# Add EIM APT repo (https://developer.espressif.com/blog/2026/03/esp-idf-installation-manager/)
echo "deb [trusted=yes] https://dl.espressif.com/dl/eim/apt/ stable main" | \
sudo tee /etc/apt/sources.list.d/espressif.list

sudo apt update
sudo apt install eim-cli

# Install ESP-IDF v5.3.3 for ESP32-C6
eim install -i v5.3.3 -t esp32c6

# Install ldproxy (required linker for esp-idf builds)
cargo install ldproxy
```

## Build

```bash
IDF_PATH=/home/dev/.espressif/v5.3.3/esp-idf ESP_IDF_TOOLS_INSTALL_DIR=global cargo build
```

Or add to `.cargo/config.toml`:

```toml
[env]
IDF_PATH = "/home/dev/.espressif/v5.3.3/esp-idf"
ESP_IDF_TOOLS_INSTALL_DIR = "global"
```