| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
This commit provides a method to verify that firmware has been signed with a private key given its public key. The implementation uses ed25519-dalek as the signature verifier. An "ed25519" feature is required to enable the functionality. When disabled (the default), calling the firmware updater's verify method will return a failure.
|
| |
|
|
|
|
|
| |
* Add nRF91 as target in CI builds
* Add example linker scripts for nrf91
* Make less nRF52 assumptions example config
* Add llvm-tools-preview required for cargo objcopy example
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1139: Wdt config changes r=lulf a=huntc
Per commits:
* By passing WDT config around we can control it more easily and promote sharing it between files.
* The memory layout of the s140 crept into a number of memory files, which can cause confusion (well, it did for me!).
* Obtaining the current WDT config is useful so that we do not have to duplicate configurations around the place. A constructor method has been introduced that attempts to return the current running WDT config from the WDT peripheral. The bootloader example has also been updated to show how the watchdog can be obtained and used.
Co-authored-by: huntc <[email protected]>
|
| | |
| |
| |
| | |
Obtaining the current WDT config is important so that we do not have to duplication configuration around the place. A constructor method has been introduced that returns WDT config in accordance with how the register is presently configured. The bootloader example has also been updated to show the watchdog can be obtained and used.
|
| | |
| |
| |
| | |
The memory layout of the s140 crept into a number of memory files, which can cause confusion.
|
| |/ |
|
| |
|
|
|
|
|
| |
Add embassy-boot support for RP2040, with examples for the Raspberry Pi
Pico.
Co-authored-by: Mathias Koch <[email protected]>
|
| | |
|
| |
|
|
| |
Closes: https://github.com/embassy-rs/embassy/issues/1002
|
| |
|
|
| |
unlocking and locking automatically on erase and write operations
|
| |
|
|
|
| |
The new FirmwareWriter is useful in particular for these architectures
due to the large erase sector size.
|
| |
|
|
| |
Removes feature(generic_associated_types)
|
| |\
| |
| |
| |
| |
| |
| |
| | |
939: time: add more tick rates, use 1mhz as default. r=Dirbaio a=Dirbaio
Co-authored-by: Dario Nieuwenhuis <[email protected]>
|
| | | |
|
| |/
|
|
|
|
|
|
|
| |
* Remove the need for generic const expressions and use buffers provided in the flash config.
* Extend embedded-storage traits to simplify generics.
* Document all public APIs
* Add toplevel README
* Expose AlignedBuffer type for convenience.
* Update examples
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|
|
This should remove some confusion around embassy-boot-* being a library
vs. a binary. The binary is now an example bootloader instead.
|