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:
parent
176f281121
commit
724b969373
@ -237,8 +237,9 @@ Some of the options for your `runner` are listed below:
|
|||||||
<details open="open">
|
<details open="open">
|
||||||
<summary><h2 style="display: inline-block" id="notes-on-using-rp2040_boot2">Notes on using rp2040_boot2</h2></summary>
|
<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
|
The second-stage boot loader must be written to the .boot2 section. That
|
||||||
must be written to the .boot2 sector. This can be done by adding the
|
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:
|
following to the beginning of main.rs:
|
||||||
```rust
|
```rust
|
||||||
use rp2040_boot2;
|
use rp2040_boot2;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user