#embassy #toolchain #cargo #stm32 #esp32 #nrf #init

no-std app cargo-embassy

Get up and running with Embassy in seconds

5 unstable releases

0.3.1 Aug 13, 2024
0.3.0 Jul 30, 2024
0.2.1 May 14, 2024
0.2.0 Feb 16, 2024
0.1.0 Feb 13, 2024

#473 in Embedded development

Download history 3/week @ 2024-07-22 166/week @ 2024-07-29 14/week @ 2024-08-05 148/week @ 2024-08-12 8/week @ 2024-08-19 5/week @ 2024-08-26 14/week @ 2024-09-02 10/week @ 2024-09-09 14/week @ 2024-09-16 22/week @ 2024-09-23 21/week @ 2024-09-30 12/week @ 2024-10-07 22/week @ 2024-10-14 1/week @ 2024-10-21 3/week @ 2024-10-28 31/week @ 2024-11-04

58 downloads per month

Custom license

41KB
687 lines

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

Dependencies

~32–44MB
~663K SLoC