embassy/examples/boot/bootloader/rp
pennae 8a9136e4e4 enable inline-asm feature for cortex-m in examples
inline assembly is supported since rust 1.59, we're way past that.
enabling this makes the compiled code more compact, and on rp2040
even decreses memory usage by not needing thunks in sram.
2023-04-18 21:07:36 +02:00
..
.cargo feat: embassy-boot for rp2040 2022-12-02 11:28:33 +01:00
src Align examples with bootloader changes 2023-04-04 22:44:21 +02:00
build.rs feat: embassy-boot for rp2040 2022-12-02 11:28:33 +01:00
Cargo.toml enable inline-asm feature for cortex-m in examples 2023-04-18 21:07:36 +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