From 16a8aa6b5a57df11b5a501bbee738e720fe4d788 Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Wed, 12 Jun 2024 15:59:10 +0000 Subject: [PATCH] Enable common features in example build command. Fixes #806 --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b804efc9f..abc479808 100644 --- a/README.md +++ b/README.md @@ -184,9 +184,12 @@ specified 'runner'. As the 'runner' is the elf2uf2-rs tool, it will build a UF2 file and copy it to your RP2040. ```console -$ cargo run --release --example pwm_blink +$ cargo run --release --features "critical-section-impl,rt,defmt" --example pwm_blink ``` +(The `pwm_blink` example doesn't need all these feature flags. They are listed here +so you can use the same command for all examples.) + ### Loading with probe-rs [probe-rs](https://github.com/probe-rs/probe-rs) is a library and a command-line tool which can flash a wide variety of microcontrollers