This repository contains training material for learning embedded Rust with no_std on the Espressif ESP32-C3. Over the course of the training you build a data logger that reads a temperature and humidity sensor, connects to Wi-Fi, publishes measurements to an MQTT broker, receives Wi-Fi credentials through a provisioning portal, and updates itself over the air.
We suggest you start by reading the book.
training/: Source of the book.project/: The application at the end of each chapter:xtask/: Host tools used during the training:cargo xtask mqtt-server: Local MQTT broker that prints received measurements.cargo xtask http-server: Local HTTP server that prints sensor payloads.cargo xtask ota-server --firmware <path>: Local HTTP server that serves a firmware image for OTA updates.
The book is built with mdBook and the mdbook-mermaid and mdbook-shiftinclude preprocessors:
cargo install mdbook mdbook-mermaid mdbook-shiftinclude --locked
mdbook serve --openThe code is licensed under either of Apache License, Version 2.0 or MIT License at your option. The written prose, pictures and diagrams are licensed under CC BY-SA 4.0.