This is a template for embedded rust development for the nRF52840. It uses the embassy embedded framework and Nix to provide reproducible builds and a full development environment.
To build the project:
$ nix build
# The compiled package resides in ./result
You can use nix develop
to enter a development shell that has all the necessary
tools setup so you can incrementally build and test your project:
# Enter development shell
$ nix develop
# Run cargo as usual
$ cargo build
$ cargo run