Skip to main content

Rust

Rust smoltcp as an alternative TCP/IP stack for ESP-IDF

Rust smoltcp as an alternative TCP/IP stack for ESP-IDF

A set of ESP-IDF components that run the Rust smoltcp stack as the IPv4/IPv6 data plane, while keeping esp_http_server, esp-tls and esp-mqtt working without source changes. This article explains the linker –wrap shim that makes it compatible, the single-task poll architecture, the throughput I measured on an ESP32-P4 (91.15 Mbit/s on a 100 Mbit link), and the limitations to be aware of.
RustWeek 2026

RustWeek 2026

Meet Espressif at RustWeek 2026 in Utrecht! Join us for a week of Rust talks, workshops, and community alongside the Rust Project’s All-Hands.
Developing a Rust-based IoT device with AI

Developing a Rust-based IoT device with AI

··13 mins
AI assistants are most effective on ESP32 Rust firmware when you supply clear specs, pinned crates, reference implementations (often ESP-IDF C), and a tight verify loop. The article discusses good practices, pitfalls, discipline, and entropy. A brief explanation about the device is also included, along with the repository and all artifacts.