aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot/boot
Commit message (Collapse)AuthorAgeFilesLines
...
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-291-1/+1
|
* simplify `set_magic`Vincent Stakenburg2022-06-301-13/+4
|
* Remove the authors field from Cargo.tomlsDario Nieuwenhuis2022-06-181-3/+0
| | | | | | | | | | | It currently contains whoever was first to write some code for the crate, even if many more people have contributed to it later. The field is "sort of" deprecated, it was made optional recently: https://rust-lang.github.io/rfcs/3052-optional-authors-field.html Due the the reasons listed there I believe removing it is better than setting it to generic fluff like "The Embassy contributors".
* Update to 2021 edition. (#820)Dario Nieuwenhuis2022-06-181-1/+1
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-41/+15
|
* Allow using separate page sizes for state and dfuUlf Lilleengen2022-04-281-66/+278
| | | | | | | * Less generics on bootloader. Keep PAGE_SIZE as a common multiple of DFU and ACTIVE page sizes. * Document restriction * Add unit tests for different page sizes
* Add bootloader to CIUlf Lilleengen2022-04-272-38/+24
|
* Add stm32 flash + bootloader supportUlf Lilleengen2022-04-272-75/+149
| | | | | | | | * Add flash drivers for L0, L1, L4, WB and WL. Not tested for WB, but should be similar to WL. * Add embassy-boot-stm32 for bootloading on STM32. * Add flash examples and bootloader examples * Update stm32-data
* Support multiple flash instances in embassy-bootUlf Lilleengen2022-04-191-41/+193
| | | | | | | | * Add FlashProvider and FlashConfig traits to define flash characteristics * Use traits in bootloader to retrieve flash handles and for copying data between flash instances * Add convenience implementations for using a single flash instance.
* Avoid writing bootloader flash if not neededUlf Lilleengen2022-03-311-24/+36
|
* Fix potential unaligned writeUlf Lilleengen2022-03-221-4/+14
| | | | Reduce log level
* Add embassy-bootUlf Lilleengen2022-02-093-0/+798
Embassy-boot is a simple bootloader that works together with an application to provide firmware update capabilities with a minimal risk. The bootloader consists of a platform-independent part, which implements the swap algorithm, and a platform-dependent part (currently only for nRF) that provides addition functionality such as watchdog timers softdevice support.