std-training
cargo-generate
std-training | cargo-generate | |
---|---|---|
11 | 14 | |
551 | 1,801 | |
3.1% | 3.3% | |
7.5 | 8.7 | |
27 days ago | 8 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.
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
cargo-generate
-
Implement React v18 from Scratch Using WASM and Rust - [1] Build the Project
cargo-generate: Quickly create Rust projects by using existing Git repositories as templates.
- VSCode Project Manager
-
Introducing tmplt - A User Friendly CLI Tool for Creating Projects with Templates
This seems to have a lot of overlap with cargo generate. I'm curious if there are differences you're exploring in philosophy/UX/features/implementation/whatever?
-
Embedded Rust on ESP32C3 Board, a Hands-on Quickstart Guide
cargo-generate to generate projects according to a template (see cargo-generate)
-
Hyperswitch - Open source Payments Switch built with Rust
That must be the connector/payment processor integration template. That's not serde specific, it's cargo-generate.
-
Apexlang: Project Templates with Code Generators
Tools like yeoman, degit, and cargo generate kept me happy for years. They add basic templating capabilities to the standard git clone but they stop there. You’ll be hard pressed to find tools that go beyond setting up a directory structure.
- [2022][Rust] Simply create project layout through || cargo setup day<n> ||
-
Five simple steps to use any Arduino C++ library in a Rust project 🦀
We would like to simply the next step and use cargo-generate tool to create our Arduino project from a template. Somehow (please, do not ask me why) it requires Perl to compile, so we have to do:
-
Backpack v1.3.0 released: content swaps and user actions
How does backpack compare to [cargo generate](https://github.com/cargo-generate/cargo-generate)? I've been using that one until now, but I haven't used its more advanced features.
-
Will Hare replace C? Or Rust? Or Zig? Or anything else?
Currently, it has two built-in ones for `cargo new` and `cargo init` (--bin and --lib) and there are third-party tools like `cargo generate` which provide for more, but they haven't accepted anything into the main distribution yet.
https://github.com/cargo-generate/cargo-generate
What are some alternatives?
solo2 - Solo 2 firmware in Rust
wasm-pack - 📦✨ your favorite rust -> wasm workflow tool!
esp-rust-board - Open Hardware with ESP32-C3 compatible with Feather specification designed in KiCad
rust-bindgen - Automatically generates Rust FFI bindings to C (and some C++) libraries.
rp2040-mandel-pico - A small Mandelbrot demonstrator for the LILYGO T-Display RT2040 written in Rust
cookiecutter-rust - A Rust project template
espflash - Serial flasher utility for Espressif SoCs and modules based on esptool.py
cross - “Zero setup” cross compilation and “cross testing” of Rust crates
wokwi-features - Wokwi Feature requests & Bug Reports
wasm-pack-template - a template for starting a rust-wasm project to be used with wasm-pack
awesome-esp-rust - Curated list of resources for ESP32 development in the Rust programming language
create-wasm-app - npm init template for consuming rustwasm pkgs