55ff397c0c
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 nRF
The bootloader uses embassy-boot
to interact with the flash.
Usage
Flash the bootloader
cargo flash --features embassy-nrf/nrf52832 --release --chip nRF52832_xxAA