Getting started
So you want to try Embassy, great! To get started, there are a few tools you need to install:
If you don’t have any supported board, don’t worry: you can also run embassy on your PC using the std
examples.
Getting a board with examples
Embassy supports many microcontroller families, but the easiest ways to get started is if you have one of the more common development kits.
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/nrf52840
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:
-
Read more about the executor.
-
Read more about the HAL.
-
Start writing your application.