esp-cam-rs

My humble journey

Get esp idf https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html#get-started-get-esp-idf

follow the esp rust book https://esp-rs.github.io/book/writing-your-own-application/generate-project/index.html

Which board do I have ? ESP32-s ???

WIFI esp wifi https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_wifi.html and https://medium.com/@rajeshpachaikani/connect-esp32-to-wifi-with-rust-7d12532f539b with the config cf.toml from https://github.com/esp-rs/std-training/tree/main/intro/http-server

HTTP Client https://esp-rs.github.io/std-training/03_3_2_http_client.html https://github.com/esp-rs/std-training/blob/main/intro/http-client/src/main.rs

esp_cam_rs

Dev Containers

This repository offers Dev Containers supports for:

If using VS Code or GitHub Codespaces, you can pull the image instead of building it from the Dockerfile by selecting the image property instead of build in .devcontainer/devcontainer.json. Further customization of the Dev Container can be achived, see .devcontainer.json reference.

When using Dev Containers, some tooling to facilitate building, flashing and simulating in Wokwi is also added.

Build

Flash

Note

When using GitHub Codespaces, we need to make the ports public, see instructions.

Wokwi Simulation

VS Code Dev Containers and GitHub Codespaces

The Dev Container includes the Wokwi Vs Code installed, hence you can simulate your built projects doing the following:

  1. Press F1
  2. Run Wokwi: Start Simulator

Note

We assume that the project is built in debug mode, if you want to simulate projects in release, please update the elf and firmware proprieties in wokwi.toml.

For more information and details on how to use the Wokwi extension, see Getting Started and Debugging your code Chapter of the Wokwi documentation.