System on chip
ESP32
Setup
Install espup
:
cargo install espup
Install toolchain:
espup install
Generate project:
cargo generate esp-rs/esp-template
Export necessary variables:
source ~/export-esp.sh
Build:
cargo build
Run:
cargo run
Resources
- The Rust on ESP Book
- A Beginner's Guide to the ESP8266 - complete guide to ESP8266
- ESP Home - everything about using ESP for home automation
- espflash - A library and command-line tool for flashing Espressif devices.
~ espflash board-info [2024-04-02T18:06:03Z INFO ] Detected 2 serial ports [2024-04-02T18:06:03Z INFO ] Ports which match a known common dev board are highlighted [2024-04-02T18:06:03Z INFO ] Please select a port [2024-04-02T18:06:10Z INFO ] Serial port: '/dev/tty.usbserial-0001' [2024-04-02T18:06:10Z INFO ] Connecting... [2024-04-02T18:06:11Z INFO ] Using flash stub Chip type: esp32 (revision v3.1) Crystal frequency: 40 MHz Flash size: 4MB Features: WiFi, BT, Dual Core, 240MHz, Coding Scheme None MAC address: 08:d1:f9:98:e3:4c
- Rust on ESP32 STD demo app
- Nostd-wifi-lamp