Crates.io | embassy-boot |
lib.rs | embassy-boot |
version | 0.3.0 |
source | src |
created_at | 2022-02-09 19:57:11.324098 |
updated_at | 2024-08-05 10:13:10.222964 |
description | A lightweight bootloader supporting firmware updates in a power-fail-safe way, with trial boots and rollbacks. |
homepage | |
repository | https://github.com/embassy-rs/embassy |
max_upload_size | |
id | 529865 |
size | 93,815 |
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.
The bootloader divides the storage into 4 main partitions, configurable when creating the bootloader instance or via linker scripts:
For any partition, the following preconditions are required:
The linker scripts for the application and bootloader look similar, but the FLASH region must point to the BOOTLOADER partition for the bootloader, and the ACTIVE partition for the application.
For more details on the bootloader, see the documentation.
The bootloader supports different hardware in separate crates:
embassy-boot-nrf
- for the nRF microcontrollers.embassy-boot-rp
- for the RP2040 microcontrollers.embassy-boot-stm32
- for the STM32 microcontrollers.