Skip to content

About

Getting-started guide on using the Rust with Espressif SoCs using no_std.

Topics

Resources

Stars

144 stars

Watchers

7 watching

Forks

Repository files navigation

no_std training

CI

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.

Contents

  • training/: Source of the book.
  • project/: The application at the end of each chapter:
    • part1: Reading sensor data.
    • part2: Wi-Fi connectivity.
    • part3: Publishing data to an MQTT broker.
    • part4: Wi-Fi provisioning.
    • part5: Over-the-air updates.
  • 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.

Building the Book

The book is built with mdBook and the mdbook-mermaid and mdbook-shiftinclude preprocessors:

cargo install mdbook mdbook-mermaid mdbook-shiftinclude --locked
mdbook serve --open

License

The 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.

About

Getting-started guide on using the Rust with Espressif SoCs using no_std.

Topics

Resources

Stars

144 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages