#embassy #cargo #nrf #stm32 #formatting #running #up

no-std app cargo-embassy

Get up and running with Embassy in seconds

3 unstable releases

0.2.1 May 14, 2024
0.2.0 Feb 16, 2024
0.1.0 Feb 13, 2024

#5 in #embassy

Download history 9/week @ 2024-03-03 10/week @ 2024-03-10 1/week @ 2024-03-24 32/week @ 2024-03-31 1/week @ 2024-04-07 125/week @ 2024-05-12 31/week @ 2024-05-19 17/week @ 2024-05-26 16/week @ 2024-06-02 14/week @ 2024-06-09 8/week @ 2024-06-16

58 downloads per month

Custom license

38KB
559 lines

cargo-embassy

Get up and running with Embassy in seconds.

Features

  • Supports STM32* and NRF*
  • 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

Dependencies

~28–39MB
~557K SLoC