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
- Host: GitHub
- URL: https://github.com/intgr/esp-hello
- Owner: intgr
- License: mit
- Created: 2026-01-03T01:55:11.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-04-04T23:57:22.000Z (3 months ago)
- Last Synced: 2026-04-05T01:25:15.564Z (3 months ago)
- Language: Rust
- Size: 18.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
```