rust-esp32-std-demo
svd2rust
rust-esp32-std-demo | svd2rust | |
---|---|---|
16 | 2 | |
769 | 658 | |
- | 1.5% | |
6.8 | 9.1 | |
3 months ago | 3 days 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.
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
svd2rust
-
Rust on Espressif chips – 18-10-2021
https://github.com/rust-embedded/svd2rust
Additionally, I use vanilla VS Code and rust analyser so no need to use manufacturer supplied lock-in IDEs. There are many compiler targets to choose from for cross compilation and tools like probe-run to flash chips.
One major issue is lack of manufacturer provided code examples written in Rust. For that I rely on the Rust community. A typical example being nrf-hal for Nordic Bluetooth chips.
-
Rust programming language: We want to take it into the mainstream, says Facebook
In the case of rust you can use svd2rust to automatically generate types that represent registers on the hardware you are working with if you have a svd file. This can generate a lot of code depending on the hardware you have.
What are some alternatives?
smol - A small and fast async runtime for Rust
EdenSCM - A Scalable, User-Friendly Source Control System. [Moved to: https://github.com/facebook/sapling]
esp-idf-sys - Bindings for ESP-IDF (Espressif's IoT Development Framework)
espflash - Serial flasher utility for Espressif SoCs and modules based on esptool.py
ili9341-rs - A WIP, no_std, generic driver for the ILI9341 (and ILI9340C) TFT LCD display
sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
getrandom - A small cross-platform library to securely get random data (entropy)
rtic - Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers
embassy - Modern embedded framework, using Rust and async.
rustc_codegen_cranelift - Cranelift based backend for rustc
HikariCore - A fork of Hikari's core obfuscation