From 8ed346e28d6af5757511d3c6179418f873ea0516 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 3 Sep 2025 11:22:26 +0200 Subject: [PATCH] README --- README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4003b53..8ec81a2 100644 --- a/README.md +++ b/README.md @@ -58,10 +58,27 @@ cp -rT vscode .vscode You can then adapt the files in `.vscode` to your needs. +## Building projects + +Building an application requires the `thumbv6m-none-eabi` cross-compiler toolchain. +If you have not installed it yet, you can do so with + +```sh +rustup target add thumbv6m-none-eabi +``` + +After that, you can use `cargo build` to build the development version of the crate. +For example, you can use + +```sh +cargo build --example blinky +``` + +to build a simple blinky app. + ## Flashing, running and debugging the software -You can use CLI or VS Code for flashing, running and debugging. In any case, take -care of installing the pre-requisites first. +You can use CLI or VS Code for flashing, running and debugging. ### Using CLI with probe-rs