DEV Community

Containerized builds for Rust on the ESP32

Matan Mates on January 13, 2020

What is the ESP32? The ESP32 "is a series of low-cost, low-power system on a chip microcontrollers with integrated Wi-Fi and dual-mode B...
Collapse
 
sjoruk profile image
Steven

Nice write up, thanks.

It'll be great if/when their LLVM fork makes it upstream (github.com/espressif/llvm-xtensa/i...). IIRC there was also some concern that Xtensa hadn't released up to date ISA docs.

Collapse
 
georgik profile image
Juraj Michálek • Edited

Nice article Matan. We have a few interesting updates regarding Dev Containers.

Together with MabezDev, BjornQ, and Sergio we're working on improving Dev Container support for Rust. With the last version (1.61) of rust-toolchain-installer it's possible to deploy also dependencies including a minified version of ESP-IDF.

The following project contains an updated Container file which results in smaller container. It contains also GitPod and Codespaces integration. The latest addition is also web-flasher, so it's possible to flash from Dev Container:
github.com/georgik/rustzx-esp32

Source code for web-socket server: github.com/MabezDev/wokwi-server

Source code for web-flash:
github.com/bjoernQ/esp-web-flash-s...

We welcome feedback.

Collapse
 
matevarga profile image
Mate Varga

The problem is port control, likely. This works well for me through rfc2217: matevarga.github.io/esp32/m5stack/...