#bootloader #framework #fota #no-std #embedded-devices

no-std moonboot

OTA Bootloader Construction Framework for Rust no_std environments

3 releases

0.1.2 Apr 19, 2022
0.1.1 Apr 19, 2022
0.1.0 Apr 19, 2022

#62 in #bootloader


Used in moonboot-codegen

MIT/Apache

37KB
616 lines

moonboot

Moonboot is a framework to build bootloaders for embedded devices, or other kinds of no_std Rust environments.

This crate contains implementations, macros and build.rs helpers for:

  • Partitioning of your memory into different sections
  • Exchange of the contents of those partitions via the bootloader
  • Signature/Checksum-checking of the partitions contents with an algorithm of your choice, because it is done in firmware, not in bootloader
  • Automatic Linker Script generation based on a Section/Parition Description in Rust Code

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2.5MB
~59K SLoC