Skip to content

drippy-iot/metro-tap

Repository files navigation

Drippy Metro-Tap

Setting up the Development Environment

ESP IoT Development Framework (ESP-IDF)

# Install build dependencies for the ESP IoT Development Framework (ESP-IDF).
sudo apt update
sudo apt install git-all python3 -y
cargo install ldproxy

Xtensa Toolchain

# Enable installing pre-built binaries without building them from scratch with `cargo install`.
cargo install cargo-binstall

# Set up Espressif's custom toolchain (forked from LLVM and `rustc`) for Xtensa architecture support.
cargo binstall espup
espup install

# Load toolchain-related environment variables.
source $HOME/export-esp.sh

Extra Tooling for Convenient Code Flashing and Uploading

cargo install espflash --version 2.0.0-rc.3
cargo binstall cargo-espflash

Running the Project

# Builds the project in release mode, flashes the ESP32 chip, and hooks into the serial monitor.
cargo run --release

About

The ESP32 code used for orchestrating sensor data collection, valve actuation, and periodic reports.

Topics

Resources

Stars

Watchers

Forks

Languages