SKILL

rust-embedded

Write embedded firmware in Rust: ARM Cortex-M and RISC-V, no-std, HALs, and memory safety over C/C++. Use for IoT and safety-critical devices.

Target: Embedded systems & circuits. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Rust Embedded
  • Quick Start
  • Key Concepts
  • When to Use
  • Step-by-Step
  • Examples
  • Best Practices
  • Troubleshooting

Develop embedded systems firmware with Rust for safety, performance, and modern tooling. #![nostd] enables bare-metal code without the standard library. The Embedded HAL provides portable hardware abstraction. cortex-m-rt handles vector table and startup. Use probe-rs for flashing and debugging. Firmware for ARM Cortex-M, RISC-V microcontrollers IoT sensor nodes and actuators Safety-critical embedded systems Replacing C/C++ with memory-safe Rust 1. Pick the board/target: install rustup target add thumbv7em-none-eabihf for Cortex-M4F or the RISC-V equivalent. 2. Configure the linker: add .cargo/config.toml with rustflags (link.x) and default build target. 3. Scaffold a nostd crate: use #![nostd] + #![nomain], add cortex-m-rt for startup and a panic handler. 4. Get a HAL: enable stm32f4xxhal (or nrf-hal, esp-hal) peripheral features matching the chip. 5. Flash & debug: use probe-rs/cargo embed (or openocd + gdb-multiarch) with the target config. 6. Verify on device: blink an LED, then exercise a sensor/UART; check binary size with cargo size. Use nostd crates for bare-metal targets. Keep memory and stack usage bounded and profiled. Use interrupts and DMA for I/O; avoid busy polling.

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
ssrjkk/agent-skills
Source file
.claude/skills/embedded/rust-embedded/SKILL.md
Fixed revision
868975614072b553f929cb32c52c5e7dc4ba8734
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: ssrjkk/agent-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-11T03:01:42.584Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.