embassy/examples/boot/bootloader/rp
Ulf Lilleengen 55ff397c0c boot: release flash after prepare and refactor api
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.
2023-08-11 20:58:31 +02:00
..
.cargo Update probe-rs-cli -> probe-rs 2023-06-29 02:39:28 +02:00
src boot: release flash after prepare and refactor api 2023-08-11 20:58:31 +02:00
build.rs feat: embassy-boot for rp2040 2022-12-02 11:28:33 +01:00
Cargo.toml cortex-m: remove owned interrupts. 2023-06-01 03:25:19 +02:00
memory.x feat: embassy-boot for rp2040 2022-12-02 11:28:33 +01:00
README.md feat: embassy-boot for rp2040 2022-12-02 11:28:33 +01:00

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