MCPcopy Index your code
hub / github.com/AdinAck/cargo-embassy

github.com/AdinAck/cargo-embassy @0.3.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.3.6 ↗ · + Follow
37 symbols 64 edges 12 files 0 documented · 0% updated 8mo ago0.3.6 · 2025-10-16★ 439 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

cargo-embassy

Get up and running with Embassy in seconds.

Features

  • Supports STM32, NRF, and ESP32(C3/S3)
  • Generates project structure
  • Toolchain
  • Probing
  • Dependencies
  • Profiles
  • Formatting

TODO

Refer to the tracking issues for proposed changes.

Usage

This utility will also create the cargo project, so wherever you would normally run cargo new ..., run:

cargo embassy init {project_name} args...

You can see how the init command works with:

cargo embassy init --help

To run the project, use:

cargo run

...or to deploy the project without RTT:

cargo embed

defmt can be removed for production deployments by disabling the "debug" feature with --no-default-features.

Examples

Create a new Embassy project for the STM32G031K8:

cargo embassy init my_project --chip stm32g031k8

Create a new Embassy project for the NRF52840:

cargo embassy init my_project --chip nrf52840

Create a new Embassy project for the NRF52832_xxAA and Softdevice S132

cargo embassy init my_project --chip nrf52832_xxAA --softdevice s132

Create a new Embassy project for the ESP32S3

cargo embassy init my_project --chip esp32s3

Core symbols most depended-on inside this repo

Shape

Method 22
Enum 10
Class 4
Function 1

Languages

Rust100%

Modules by API surface

src/init.rs17 symbols
src/cli.rs3 symbols
src/error.rs2 symbols
src/cli/init_args/soft_device.rs2 symbols
src/cli/init_args/panic_handler.rs2 symbols
src/chip/target.rs2 symbols
src/chip/family/esp.rs2 symbols
src/chip/family.rs2 symbols
src/chip.rs2 symbols
src/main.rs1 symbols
src/cli/init_args.rs1 symbols
src/chip/family/mem_region.rs1 symbols

For agents

$ claude mcp add cargo-embassy \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page