A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/shanemmattner/ESP32-C3_Rust_Tutorials/blob/main below:

GitHub - shanemmattner/ESP32-C3_Rust_Tutorials

Various embedded Rust tutorials using the ESP32-C3. We'll work towards making a remote data logger by first implementing peripherals we will need to build the larger project.

Each tutorial below has a YouTube video link where I will start with a blank project and implement a peripherals using the latest esp-idf-hal version.

Part 0: Remote Data Logger MVP

Minimum viable product project where we'll implement all the peripherals and features we need for the data logger

For the next part of the project we will add in features listed below:

Other features I'd like to add but don't have a clear example for yet:

Development environment setup
  1. Install Rust and associated build tools
  2. Start a project using the esp-idf-template from the private repo home dir. I chose all the default options
# STD Project
cargo generate https://github.com/esp-rs/esp-idf-template cargo
# NO-STD (Bare-metal) Project
cargo generate https://github.com/esp-rs/esp-template
  1. Build the Hello World program by running cargo build in the new project dir. This will take a while to build the first time:
cd esp32-rust
cargo build
...
Finished dev [optimized + debuginfo] target(s) in 6m 40s
  1. Flash the ESP32 with the build artifact:
espflash /dev/ttyACM0 target/riscv32imc-esp-espidf/debug/project
  1. Connect to ESP32 and monitor
Misc

Singletons in Embedded Rust

Pull in code for submodules with:

git submodule update --init --recursive
Links

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4