diff --git a/docs/embedded/index.md b/docs/embedded/index.md index da4abf9..e8296de 100644 --- a/docs/embedded/index.md +++ b/docs/embedded/index.md @@ -177,6 +177,35 @@ This task aims to illustrate the importance of OS preemption in the context of u ### Trust but verify +:::warning app flashing + + +You will need to install `openocd` first. + +```shell +# Linux +sudo apt install openocd + +# Mac +brew install openocd +``` + +::: + Your task will be to verify the previous claims, by flashing two C applications. One of them will be the `blink` example. After flashing the kernel by running `make flash` in the board's main directory (`boards/nucleo_f429zi`), you can load the application by running `make flash` in the example's root folder (`example/blink`). As there are no *"malicious"* examples, we will have to add them on our own. In this case, an app that would print a message, then just infinitely spin in a `while` loop is enough. For this, you can adapt the `examples/c_hello` example, the flash it.