This refactoring of the chip specific bootloader creates the internal boot instance and aligned buffer in the prepare stage, so that they are automatically dropped after. This unlocks a use case where peripherals owning the flash need to be Drop'ed before load() happens.
Bootloader for RP2040
The bootloader uses embassy-boot to interact with the flash.
Usage
Flashing the bootloader
cargo flash --release --chip RP2040
To debug, use cargo run and enable the debug feature flag
cargo run --release --features debug