aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot
Commit message (Collapse)AuthorAgeFilesLines
* rp/flash: change naming to `blocking_*`, `new_blocking`.Dario Nieuwenhuis2023-08-181-4/+4
| | | | | - Needed for consistency with other drivers. - Having two `new()` functions sometimes resulted in 'multiple applicable methods' errors.
* boot: release flash after prepare and refactor apiUlf Lilleengen2023-08-113-71/+32
| | | | | | This refactoring of the chip specific bootloader creates the internal boot instance and aligned buffer in the prepare stage, so that they are automatically dropped after. This unlocks a use case where peripherals owning the flash need to be Drop'ed before load() happens.
* Refactor firmware updaterUlf Lilleengen2023-08-067-217/+268
| | | | | * Allow manipulating state without accessing DFU partition. * Provide aligned buffer when creating updater to reduce potential wrong parameters passed.
* feat: make nrf bootloader watchdog generic for any flashUlf Lilleengen2023-08-021-13/+13
|
* rp: add async flashDerek Hageman2023-07-281-7/+7
| | | | | | Implement an async flash mode using the XIP background best effort read interface. Only reads are actually async, write and erase remain blocking.
* embassy-boot/nrf/README.md: typo fixKaspar Schleiser2023-06-291-1/+1
|
* Prevent accidental revert when using firmware updaterUlf Lilleengen2023-06-194-9/+72
| | | | | This change prevents accidentally overwriting the previous firmware before the new one has been marked as booted.
* Remove unused use'sRasmus Melchior Jacobsen2023-05-302-10/+10
|
* Fix verify testRasmus Melchior Jacobsen2023-05-301-1/+4
|
* Align examplesRasmus Melchior Jacobsen2023-05-303-3/+9
|
* Align stm32Rasmus Melchior Jacobsen2023-05-301-53/+17
|
* Align rpRasmus Melchior Jacobsen2023-05-301-53/+16
|
* Align nrfRasmus Melchior Jacobsen2023-05-301-54/+17
|
* Align testsRasmus Melchior Jacobsen2023-05-304-122/+167
|
* Remove legacy Partition type and use the one from embedded-halRasmus Melchior Jacobsen2023-05-303-149/+4
|
* Add TestFlash helperRasmus Melchior Jacobsen2023-05-304-0/+135
|
* Cleanup MemFlashRasmus Melchior Jacobsen2023-05-301-50/+56
|
* Add bootloader helper for creating config from linkerfile symbolsRasmus Melchior Jacobsen2023-05-302-66/+72
|
* Split FirmwareUpdater into async and blocking typesRasmus Melchior Jacobsen2023-05-304-182/+236
|
* Merge remote-tracking branch 'upstream/main' into remove-bootloader-partitionsRasmus Melchior Jacobsen2023-05-301-1/+1
|\
| * Merge pull request #1506 from embassy-rs/ci-fixesDario Nieuwenhuis2023-05-291-1/+1
| |\ | | | | | | | | | ci: fix nrf, rp tests.
| | * ci: fix nrf, rp tests.Dario Nieuwenhuis2023-05-291-1/+1
| | |
* | | Remove the usage of the local Partition type in BootLoaderRasmus Melchior Jacobsen2023-05-292-229/+112
|/ /
* / Split the FirmwareUpdater into blocking and asyncRasmus Melchior Jacobsen2023-05-294-543/+543
|/
* Protect default implementations for FirmwareUpdater and BootLoaderRasmus Melchior Jacobsen2023-05-224-0/+4
| | | | It seems as if the arm compiler can does not care about whether the bootloader symbols are undefined if the default() function is never used. The x64 compiler does care however, so this change ensures that we can instantiate the types from tests.
* Update Rust nightly.Dario Nieuwenhuis2023-05-191-1/+0
|
* embassy-boot: ensure tests can run on the stable compilersander2023-04-202-4/+5
|
* embassy-boot: resolve conflictssander2023-04-202-2/+0
|
* Merge commit '2c1d572cf2e225be5f30435b133e96aa55c9d3af'sander2023-04-202-0/+2
|\
| * Merge branch 'embassy-rs:master' into embassy-boot-stablesawi972023-04-201-0/+1
| |\
* | \ Merge commit '970a081aab0567a387463610eb204a3b003255f9'sander2023-04-201-0/+1
|\ \ \ | | |/ | |/|
| * | chore: add embassy-boot-rp to READMELachezar Lechev2023-04-201-0/+1
| | | | | | | | | | | | Signed-off-by: Lachezar Lechev <[email protected]>
* | | embassy-boot: update readme MSRV to stablesander2023-04-204-4/+4
| | |
* | | embassy-boot: add nightly feature to stm32 and rp as wellsander2023-04-207-10/+16
| |/ |/|
* | embassy-boot: add nightly feature gate for async usagesander2023-04-143-95/+99
| |
* | Merge commit '82f528927b2fde275c2e9b6fd737baf439cb296a'sander2023-04-141-1/+1
|\|
| * Release embassy-sync v0.2.0Dario Nieuwenhuis2023-04-131-1/+1
| |
* | embassy-boot: readd nightly feature as defaultsander2023-04-111-1/+1
| |
* | embassy-boot: add nightly feature gatessander2023-04-114-83/+98
| |
* | merge embassy/mastersander2023-04-1112-1422/+1523
|\|
| * Let update_len be u32Rasmus Melchior Jacobsen2023-04-112-10/+8
| |
| * Merge remote-tracking branch 'upstream/master' into u32-partitionRasmus Melchior Jacobsen2023-04-116-37/+160
| |\
| | * Let update_len be usize for nowRasmus Melchior Jacobsen2023-04-052-12/+10
| | |
| | * Merge remote-tracking branch 'upstream/master' into incremental-hashRasmus Melchior Jacobsen2023-04-056-188/+148
| | |\
| | * | Use MemFlash::default() in sha1 verify testRasmus Melchior Jacobsen2023-04-041-3/+3
| | | |
| | * | Merge remote-tracking branch 'upstream/master' into incremental-hashRasmus Melchior Jacobsen2023-04-045-179/+253
| | |\ \
| | * | | Let hash functions take a digest::Digest traitRasmus Melchior Jacobsen2023-04-046-37/+140
| | | | | | | | | | | | | | | | | | | | ... and add adapters for current Sha512 implementations that does not inplement the Digest trait
| | * | | Merge remote-tracking branch 'upstream/master' into incremental-hashRasmus Melchior Jacobsen2023-04-043-76/+12
| | |\ \ \
| | * | | | Add incremental hash to FirmwareUpdaterRasmus Melchior Jacobsen2023-04-032-26/+43
| | | | | | | | | | | | | | | | | | | | | | | | This adds support for computing any hash over the update in the dtu area by providing a closure to the hash update function.
| * | | | | Align platform specific bootloadersRasmus Melchior Jacobsen2023-04-053-18/+18
| | | | | |