aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot/boot/src
Commit message (Collapse)AuthorAgeFilesLines
* Flatten embassy-boot dir treeDario Nieuwenhuis2024-01-1113-2081/+0
|
* boot: Take maximum of READ_SIZE and WRITE_SIZE when checking sizes, fixes #2382Maja Piechotka2024-01-061-3/+3
|
* boot: update ed25519-dalek in dev-dependencies.Dario Nieuwenhuis2023-12-191-5/+3
|
* cargo fmtUlf Lilleengen2023-12-191-1/+1
|
* fix: update ed25519-dalek to new versionUlf Lilleengen2023-12-193-22/+16
|
* Merge pull request #2284 from Redrield/feature/embassy-usb-dfuUlf Lilleengen2023-12-144-4/+53
|\ | | | | | | Add embassy-usb-dfu crate, with related modifications to embassy-boot
| * fmtKaitlyn Kenwell2023-12-141-2/+2
| |
| * Address reviewsKaitlyn Kenwell2023-12-143-1/+21
| |
| * Last fmt hopefullyKaitlyn Kenwell2023-12-131-1/+1
| |
| * Formatting fixes, add example using stm32wb55Kaitlyn Kenwell2023-12-132-2/+2
| |
| * Merge branch 'main' into feature/embassy-usb-dfuKaitlyn Kenwell2023-12-131-0/+2
| |\
| * | Add embassy-usb-dfuKaitlyn Kenwell2023-12-134-4/+33
| | |
* | | embassy-boot: Fix formatting for tablesPriit Laes2023-12-141-25/+11
| |/ |/| | | | | | | Tables describing the a-b flashing were all garbled up in the cargo doc output, so fix up the syntax.
* | embassy-boot: Add explanation to dfu vs active size assertionPriit Laes2023-12-131-0/+2
|/
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-295-21/+8
|
* Update Rust nightly.Dario Nieuwenhuis2023-11-011-0/+1
|
* Sync all fmt.rs files.Dario Nieuwenhuis2023-08-301-6/+39
|
* Refactor firmware updaterUlf Lilleengen2023-08-064-211/+256
| | | | | * Allow manipulating state without accessing DFU partition. * Provide aligned buffer when creating updater to reduce potential wrong parameters passed.
* 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 testsRasmus Melchior Jacobsen2023-05-304-122/+167
|
* Remove legacy Partition type and use the one from embedded-halRasmus Melchior Jacobsen2023-05-302-146/+0
|
* 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
|
* Remove the usage of the local Partition type in BootLoaderRasmus Melchior Jacobsen2023-05-291-229/+111
|
* Split the FirmwareUpdater into blocking and asyncRasmus Melchior Jacobsen2023-05-294-543/+543
|
* Protect default implementations for FirmwareUpdater and BootLoaderRasmus Melchior Jacobsen2023-05-221-0/+1
| | | | 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: add nightly feature gate for async usagesander2023-04-142-94/+94
|
* embassy-boot: add nightly feature gatessander2023-04-113-82/+97
|
* merge embassy/mastersander2023-04-118-1378/+1483
|\
| * Let update_len be u32Rasmus Melchior Jacobsen2023-04-112-10/+8
| |
| * Merge remote-tracking branch 'upstream/master' into u32-partitionRasmus Melchior Jacobsen2023-04-115-36/+157
| |\
| | * 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-053-163/+129
| | |\
| | * | 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-045-36/+137
| | | | | | | | | | | | | | | | | | | | ... 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.
| * | | | | Remove firmware_lenRasmus Melchior Jacobsen2023-04-051-5/+0
| | | | | |
| * | | | | Let Partition range be u32 instead of usizeRasmus Melchior Jacobsen2023-04-055-111/+93
| | |_|_|/ | |/| | |
| * | | | Add assertions about the aligned_buf % write sizesRasmus Melchior Jacobsen2023-04-041-1/+3
| | | | |
| * | | | Remove comment about equal erase size requirementRasmus Melchior Jacobsen2023-04-041-2/+0
| | | | |
| * | | | Allow different erase sizes for active and dfuRasmus Melchior Jacobsen2023-04-043-79/+9
| | | | |
| * | | | Remove the Flash traitRasmus Melchior Jacobsen2023-04-044-57/+32
| | | | |