diff --git a/README.md b/README.md index 4384fcf..7e25d92 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ If you aren't using a debugger (or want to use cargo-embed/probe-rs-debugger), c
  • Installation of development dependencies
  • Running
  • Alternative runners
  • +
  • Notes on using rp2040_boot2
  • Roadmap
  • Contributing
  • Code of conduct
  • @@ -231,6 +232,23 @@ Some of the options for your `runner` are listed below: + + +
    +

    Notes on using rp2040_boot2

    + + 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 + following to the beginning of main.rs: + ```rust + use rp2040_boot2; + #[link_section = ".boot2"] + #[used] + pub static BOOT_LOADER: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; + ``` + +
    + ## Roadmap