Posts

Showing posts with the label esp-rs

Rust on ESP (esp-rs), toggle GPIO to control LED on ESP32-C6.

Image
With Embedded Rust for ESP32 installed on Linux Mint 21.3 over VirtualBox/Windows 11 , this video show steps to run esp-rs on YD-ESP32-C6-N16 , toggle GPIO to control LED. Connect a LED and resistor (for current limit) between 3V3 and GPIO15 of ESP32-C6 board YD-ESP32-C6-N16 |      | |      | +-------| GPIO15      | | |      | | |                        | | |                     3.3V|---+ | +-------------------+ | |           | | | | | +-------|<|-----|/\/\/\|--------+ LED Resistor (current limit) Generate project: Generate a project based on esp-template(no_std): cargo generate esp-rs/esp-template - Project Name : rs-c6-blink - Target MCU : esp32c6 - false ...

Install Embedded Rust for ESP32 on Linux Mint 21.3 over VirtualBox/Windows 11 (tested with ESP32-C3-DevKitM-1)

Image
This video show steps to install Embedded Rust for ESP32 on Linux Mint 21.3 over VirtualBox/Windows 11 (tested with ESP32-C3-DevKitM-1 ). Basically I follow the steps in Rust on ESP Book > Rust Installation , with my try and error and re-try and success experience. Install Rust Install Rust using rustup script: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh Install espup to install tools for Espressif Install espup (requirement and espup): sudo apt-get install -y gcc build-essential curl pkg-config cargo install espup Install Toolchains for Espressif targets using espup: espup install Install additional software covered in std Development Requirements: ( https://esp-rs.github.io/book/installation/std-requirements.html ) sudo apt-get install git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0 Install ldproxy cargo install ldproxy Setup the Environment Va...