#Rust Embedded ESP32 dev container is either read-only or can't flash

2 messages · Page 1 of 1 (latest)

echo sable
#

I'm trying to follow the tutorial at https://esp-rs.github.io/book/writing-your-own-application/generate-project/index.html with VS Code in a flatpak on Debian Bookworm, but dev containers don't seem to be working for me.

Right now, my setup for dev containers is as per https://gist.github.com/proegssilb/786e51766cce3c38fe2ac27e6caa37cb . This specific setup results in a read-only workspace. When re-using the existing espressif/idf-rust:esp32s3_latest image (typically without most of the settings in the linked devcontainer.json), I get the error about running espflash described in https://github.com/esp-rs/rust-build/issues/229.

I think I have 2 problems I need to fix here:

  1. How can I get this setup to create a dev container with a read/write workspace?
  2. How can I get flashing to work correctly?
Gist

Rust Embedded dev container setup. GitHub Gist: instantly share code, notes, and snippets.

echo sable
#

My first problem turned out to be a podman issue. The gist is updated with what I currently have, but I'm still struggling with getting espflash to work.