diff --git a/embedded-workshop-book/src/bsc-exercise.md b/embedded-workshop-book/src/bsc-exercise.md index aed8f7e..1eb4e08 100644 --- a/embedded-workshop-book/src/bsc-exercise.md +++ b/embedded-workshop-book/src/bsc-exercise.md @@ -1,9 +1,17 @@ # BSC Exercise -In this exercise you will learn how to write a board support crate. -The template `dk_bsc/src/lib.rs` already contains the LED and Timer implementations. You will implement the buttons and the UARTE peripheral. +In this exercise you will learn how to write a board support crate by implementing buttons and the UARTE peripheral. -Note: Introduction to the exercise is a guided tour through the template, and it's architecture. Make the participants aware of the placeholders for their implementations. run the hello example on the unmodified lib. +The template `down-the-stack/dk_bsc/src/lib.rs` already contains the LED and Timer implementations. + +You can test after each step by running the following command out of `down-the-stack/apps` +``` +cargo run --bin hello +``` + +This program will not call any of the functions you are implementing, so it does not matter if they are incomplete. It will refuse to build if there are errors present in the lib! + +Note for trainer: Introduction to the exercise is a guided tour through the template, and it's architecture. Make the participants aware of the placeholders for their implementations. run the hello example on the unmodified lib. ## You will learn how to