Apply suggestions from code review

Making it clear why the boot-loader needs to be added manually.

Co-authored-by: Jan Niehusmann <jan@gondor.com>
This commit is contained in:
s7rul 2023-06-17 09:36:21 +02:00 committed by GitHub
parent 176f281121
commit 724b969373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,8 +237,9 @@ Some of the options for your `runner` are listed below:
<details open="open">
<summary><h2 style="display: inline-block" id="notes-on-using-rp2040_boot2">Notes on using rp2040_boot2</h2></summary>
When rp2040_boot2 is used instead of rp-pico the bootloader
must be written to the .boot2 sector. This can be done by adding the
The second-stage boot loader must be written to the .boot2 section. That
is usually handled by the board support package (e.g.`rp-pico`). If you don't use
one, you should initialize the boot loader manually. This can be done by adding the
following to the beginning of main.rs:
```rust
use rp2040_boot2;