std-training
rust-esp32-std-demo
std-training | rust-esp32-std-demo | |
---|---|---|
11 | 16 | |
553 | 769 | |
3.4% | - | |
7.5 | 6.8 | |
about 1 month ago | 3 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
std-training
-
ESP32 Standard Library Embedded Rust: GPIO Interrupts
It's well established that interrupts are a tough concept to grasp for the embedded beginner. Add to that when doing it in Rust the complexity of dealing with mutable static variables. This is because working with shared variables and interrupts is inherently unsafe if proper measures are not taken. When looking at how to do interrupts using the esp-idf-hal I first resorted to the Embedded Rust on Espressif book. Interrupts are covered under the Advanced Workshop in section 4.3, and to be honest, I was taken aback a little at what could be an additional level of complexity for a beginner. Without too much detail, this is because the book resorts to using lower-level implementations. For those interested, by that, I mean FFI interfaces to FreeRTOS which I will be creating a separate post about later.
- The Nano ESP32
-
ESP32 Standard Library Embedded Rust: GPIO Control
Relative to the esp-idf-hal , as far as material goes, there exists training material that is open sourced by Ferrous systems. The training material takes a bit of a different approach where it starts with high-level IoT exercises followed by low-level control. Additionally, the training is based on the awesome Rust ESP board hardware.
-
Espressif advances with Rust – 30-06-2023
Yes! The training developed with Ferrous Systems (https://esp-rs.github.io/std-training/) contains several examples, and you can find many community projects in https://github.com/esp-rs/awesome-esp-rust#projects
-
Unlocking Possibilities: 4 Reasons Why ESP32 and Rust Make a Winning Combination
Good places to get started with std Rust on ESP include the Rust on ESP book, Embedded Rust on Espressif by Ferrous Systems. There's also the Awesome ESP Rust GitHub repository that contains a lot of useful material and project examples.
-
Embedded Rust on ESP32C3 Board, a Hands-on Quickstart Guide
Embedded Rust on Espressif (Ferrous Systems training)
- Some experience with IoT
-
Why do I constantly feel like I'm doing something wrong by continuing using C++?
I must admit I've never used it for anything but tutorials yet (kids resulted in a lot of personal projects shelved), but Rust has an amazing and rapidly developing embedded ecosystem. A good starting point to get an impression of it might be training materials from Ferrous Systems 1, 2 (feel free to pay for the training itself if you feel like it's worth it for you of course). There is an embedded working group for Rust, Knurling project to improve tooling and even an attempt of Rust standard certified for safety-critical application.
- noob question, Whats the point of interfacing arduino uno and ESP32?
-
Ask HN: Has any Rust developer moved to embedded device programming?
I’ve been super curious about both Rust and ESP. It seems like Espressif is interested enough to commission a Rust dev board (ESP32-C3-DevKit-RUST-1) and training using it.
https://github.com/esp-rs/esp-rust-board/
https://github.com/ferrous-systems/espressif-trainings
rust-esp32-std-demo
-
ESP32 USB is frustrating, try JCUSB for S3 + USB + CDC + OpenOCD + Arduino IDE
This is my link: https://github.com/ivmarkov/rust-esp32-std-demo
- Rust on my ESP32 (using idf framework)
-
Embedded Rust on ESP32C3 Board, a Hands-on Quickstart Guide
A complete STD demo on ESP32C3
-
Low FPS on ESP32 LCD
I'm trying lots of Rust demos (including rust-esp32-std-demo, esp32-spooky-maze-game) for ESP32 on my M5GO kit with ili9342c controller and all of them struggle to give fullscreen (320x240) frame-rate > 5.
-
Considerations when benchmarking on mcu?
I used this demo as a guide, it uses esp-idf for rust, and allows you to use std
- Embedded Rust Development
-
Can you run rust on the new raspberry pi pico w?
rust-esp32-std-demo works quite well with WiFi, HTTPS and MQTTS. The only thing I could not make work (but I did not put much effort into it) was using async primitives. That part seems to be experimental, indeed.
-
Rust on Espressif chips – 15-07-2022
FWIW I've very recently gotten https://github.com/ivmarkov/rust-esp32-std-demo (which is a pretty comprehensive demo) running on a TinyPICO (w/ESP32) and am looking forward to building out my own projects next.
-
Is this normal bindgen/embuild behavior?
I'm using this template project to get started with the esp32, though I've started fresh in a new main function. Every time I build the project -even if I only add a blank line to main - it seems to re-compile bindgen and embuild, and regenerate the bindings for a variety of packages that have C components. I haven't made any changes to these though and the process takes a full 90 seconds. In addition nothing in the bindings that are getting generated shows up in intellisense in vscode. Any help appreciated.
-
Starting work using the esp32 in rust - problems and solutions. (devlog, i guess?)
This worked fairly well for me. I assume that's where the book takes you, bit I've missed if you said if you're trying to use std or no_std. https://github.com/ivmarkov/rust-esp32-std-demo
What are some alternatives?
solo2 - Solo 2 firmware in Rust
smol - A small and fast async runtime for Rust
esp-rust-board - Open Hardware with ESP32-C3 compatible with Feather specification designed in KiCad
esp-idf-sys - Bindings for ESP-IDF (Espressif's IoT Development Framework)
rp2040-mandel-pico - A small Mandelbrot demonstrator for the LILYGO T-Display RT2040 written in Rust
ili9341-rs - A WIP, no_std, generic driver for the ILI9341 (and ILI9340C) TFT LCD display
espflash - Serial flasher utility for Espressif SoCs and modules based on esptool.py
getrandom - A small cross-platform library to securely get random data (entropy)
wokwi-features - Wokwi Feature requests & Bug Reports
embassy - Modern embedded framework, using Rust and async.
awesome-esp-rust - Curated list of resources for ESP32 development in the Rust programming language