Getting started

So you want to try Embassy, great! To get started, there are a few tools you need to install:

  • rustup - the Rust toolchain is needed to compile Rust code.

  • probe-run - to flash the firmware on your device. If you already have other tools like OpenOCD setup, you can use that as well.

If you don’t have any supported board, don’t worry: you can also run embassy on your PC using the std examples.

Running an example

First you need to clone the [github repository];

git clone https://github.com/embassy-rs/embassy.git
cd embassy
git submodule update --init

You can run an example by opening a terminal and entering the following commands:

cd examples/nrf
cargo run --bin blinky --release

Whats next?

Congratulations, you have your first Embassy application running! Here are some alternatives on where to go from here: