embassy/embassy-boot
Ulf Lilleengen 334dfcdb65 Take into account size of revert index
Fixes a bug in the partition assertions that ensures that the state
page(s) have enough space for 2x active partition range.

Add unit test to verify that panic is observed.
2022-09-23 07:58:48 +02:00
..
boot Take into account size of revert index 2022-09-23 07:58:48 +02:00
nrf Remove generic const expressions from embassy-boot 2022-09-02 08:25:36 +02:00
stm32 Remove generic const expressions from embassy-boot 2022-09-02 08:25:36 +02:00
README.md Remove generic const expressions from embassy-boot 2022-09-02 08:25:36 +02:00

embassy-boot

An Embassy project.

A lightweight bootloader supporting firmware updates in a power-fail-safe way, with trial boots and rollbacks.

The bootloader can be used either as a library or be flashed directly with the default configuration derived from linker scripts.

By design, the bootloader does not provide any network capabilities. Networking capabilities for fetching new firmware can be provided by the user application, using the bootloader as a library for updating the firmware, or by using the bootloader as a library and adding this capability yourself.

Hardware support

The bootloader supports different hardware in separate crates:

  • embassy-boot-nrf - for the nRF microcontrollers.
  • embassy-boot-stm32 - for the STM32 microcontrollers.

Minimum supported Rust version (MSRV)

embassy-boot requires Rust nightly to compile as it relies on async traits for interacting with the flash peripherals.

License

This work is licensed under either of

at your option.