From 54685ddb4bc8baa009d43741b70ec22730712f5d Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Fri, 4 Oct 2024 17:53:36 +0100 Subject: [PATCH] Fix dir name. It's boards, not board. --- exercise-book/src/nrf52-code-organisation.md | 10 +++++----- exercise-book/src/nrf52-hal-buttons.md | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/exercise-book/src/nrf52-code-organisation.md b/exercise-book/src/nrf52-code-organisation.md index c39df17..db0a927 100644 --- a/exercise-book/src/nrf52-code-organisation.md +++ b/exercise-book/src/nrf52-code-organisation.md @@ -75,21 +75,21 @@ $ tree -L 2 27 directories, 17 files ``` -### board/dk +### boards/dk Contains a Board Support Package for the nRF52840 Developer Kit. -### board/dk-solution +### boards/dk-solution Contains a Board Support Package for the nRF52840 Developer Kit, with a solution to the [BSP exercise](./nrf52-hal-buttons.md). -### board/dongle +### boards/dongle Contains a Board Support Package for the nRF52840 USB Dongle. You won't be using this. -### board/dongle-fw +### boards/dongle-fw -Contains pre-compiled firmware for the nRF52 USB Dongle. Use in the *nRF52 Radio Exercise*. +In the release zip file, this contains pre-compiled firmware for the nRF52 USB Dongle, which you use in the *nRF52 Radio Exercise*. In the Git repository, it's empty. ### consts diff --git a/exercise-book/src/nrf52-hal-buttons.md b/exercise-book/src/nrf52-hal-buttons.md index 8ff919a..9162ae0 100644 --- a/exercise-book/src/nrf52-hal-buttons.md +++ b/exercise-book/src/nrf52-hal-buttons.md @@ -10,7 +10,7 @@ It should now fail to compile, because the `dk` crate doesn't have support for b ## Define a Button -✅ Open up the `dk` crate in VS Code (`nrf52-code/board/dk`) and open `src/lib.rs`. +✅ Open up the `dk` crate in VS Code (`nrf52-code/boards/dk`) and open `src/lib.rs`. ✅ Add a `struct Button` which represents a single button. @@ -58,4 +58,4 @@ If you're stuck for ideas, you could have the LEDs do some kind of animation. Th ## Troubleshooting -🔎 If you get totally stuck, ask for help! If all else fails, you could peek in `board/dk-solution`, which has a complete set of the required BSP changes. +🔎 If you get totally stuck, ask for help! If all else fails, you could peek in `nrf52-code/boards/dk-solution`, which has a complete set of the required BSP changes.