From 0525b3deaf1be6c1dd623eb1f83448101174fe76 Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Mon, 20 Sep 2021 14:39:44 +0100 Subject: [PATCH] Examples do need to include the board name. This is because we build in a workspace and they all share a target folder. --- boards/pro_micro_rp2040/README.md | 2 +- .../examples/{rainbow.rs => pro_micro_rainbow.rs} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename boards/pro_micro_rp2040/examples/{rainbow.rs => pro_micro_rainbow.rs} (100%) diff --git a/boards/pro_micro_rp2040/README.md b/boards/pro_micro_rp2040/README.md index dde25cf..a9809ef 100644 --- a/boards/pro_micro_rp2040/README.md +++ b/boards/pro_micro_rp2040/README.md @@ -53,7 +53,7 @@ If you get an error about not being able to find `elf2uf2-rs`, try: $ cargo install elf2uf2-rs, then repeating the `cargo run` command above. ``` -### [rainbow](./examples/rainbow.rs) +### [Rainbow](./examples/pro_micro_rainbow.rs) This example will display a colour-wheel rainbow effect on the on-board LED. diff --git a/boards/pro_micro_rp2040/examples/rainbow.rs b/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs similarity index 100% rename from boards/pro_micro_rp2040/examples/rainbow.rs rename to boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs