Embassy boot and dfu flashing#877
Conversation
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
rename embassy-boot flag to dfu/ dfu-rp flag Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Size Report
|
72a1540 to
a4adf5f
Compare
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
when firmware is big enough and storage_start address is defined in [storage].
This PR adds DFU (Device Firmware Upgrade) support via embassy-boot for RP2040-based keyboards. Once set up, firmware updates can be done over USB with dfu-util — no need to press BOOTSEL or use a debug probe.
What's implemented
rmk crate — new dfu_rp feature gate:
rmk-config crate — new [dfu] TOML section:
Examples:
Documentation:
Feature flags
Usage flow
Perspective
Since embassy-boot is agnostic towards how the updated firmware gets into the DFU partition, this PR lays the foundation for future features like flashing via bluetooth or flashing the peripheral from the central using the serial connection between them.
Needs: