194 Commits

Author SHA1 Message Date
Ulf Lilleengen
c7b9060a74 fix: prepare embassy-sync 0.7.1 release
* Add newtype for moved type to preserve API compat
2025-08-12 21:05:32 +02:00
Ulf Lilleengen
8047a59d82 chore: Release embassy-boot version 0.6.0 2025-08-04 15:01:20 +02:00
Dario Nieuwenhuis
78a333d008 Release embassy-embedded-hal v0.4 2025-08-03 00:44:51 +02:00
Timo Kröger
4c098faef5 chore: Prepare release for embassy-boot-* crates
Prepare the bootloader crates for a release with `embassy-sync@0.7.0`
as dependency for compatiblity with other released crates.
`embassy-sync` is used in the public api of `embassy-boot` which is
reexported by the `embassy-boot-*` crates. That is why a minor version
bump of all crates is required.
2025-07-21 13:40:36 +02:00
Ulf Lilleengen
386c586afa chore: Release embassy-embedded-hal version 0.3.1 2025-07-16 14:53:02 +02:00
Gerhard de Clercq
68a45490fc [embassy-usb-dfu] support ed25519 verification
This commit adds the ability to verify that USB DFU updates are correctly signed using ed25519.
This required adding support to embassy-boot for reading from the DFU partition.
2025-05-23 12:40:19 +02:00
Matt Johnston
5e49985ed6 embassy-sync: bump to 0.7.0 2025-05-22 13:29:55 +08:00
Yuri Astrakhan
ef0f29f0ed Update defmt dependencies 2025-05-18 20:52:09 +02:00
Ulf Lilleengen
ed63f80637 chore: bump embassy-sync version
Prepare version 0.6.2 for release
2025-01-15 16:12:36 +01:00
Dániel Buga
3c1e862f61
Prepare embassy-boot 0.4 2025-01-05 21:28:44 +01:00
Dániel Buga
9f21cf627b
Prepare embassy-embedded-hal 0.3 2025-01-05 21:28:42 +01:00
Dániel Buga
c9abff53d7
Bump sync version (#3562)
* Bump sync version

* Use old embassy-sync in rp bluetooth example

* Downgrade update to minor
2024-11-22 21:16:11 +01:00
Mathias
682504eb0e Fix get_state in cases where WRITE_SIZE != 1 2024-11-06 09:17:29 +01:00
Dinu Blanovschi
3792b14161
fix: change duplicate reference to FirmwareUpdaterConfig::from_linkerfile_blocking in rustdoc 2024-09-27 10:40:24 +02:00
Ulf Lilleengen
ab0a227e4c Ensure bootloader state is parsed correctly 2024-09-19 09:16:19 +02:00
Ulf Lilleengen
b1897c58fa Add revert state in embassy-boot
The revert state signals that a firmware revert has taken place,
allowing the application to know if a firmware update attempt was
reverted.
2024-09-19 09:16:19 +02:00
kingofpayne
6d89f2729a
boot: flash-erase-zero (#3344)
Allow compatibility with devices whose flash erase set bytes to 0x00
instead of 0xFF, using a new flash-erase-zero feature.
See issue #3342.
2024-09-16 22:07:56 +02:00
Olivier Hériveaux
8519e54461 fix(boot): return signature error when no features
Always return signature error in verify_and_mark_updated when no
signature features are enabled.
2024-09-16 11:54:40 +02:00
Lucas Martins Mendes
32cff6530f
chore: fix using default_features instead of default-features in embassy boot dependency (#3306) 2024-09-03 21:02:39 +02:00
Ulf Lilleengen
1588fbc256 Prepare to release embassy-boot 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
5767c003cc Prepare release of embassy-embedded-hal 0.2.0 2024-08-05 08:56:29 +02:00
Tarun Singh
a716a3f006 Reduced define for 'unreachable!' to a single macro rule 2024-07-17 17:05:52 -04:00
William Yager
a5c0d1b79f Change const asserts to core::assert to avoid invoking defmt::assert 2024-07-13 15:55:24 -04:00
Ulf Lilleengen
8f52ee469e make some embassy-boot asserts const 2024-07-02 12:37:36 +02:00
David Flemström
cbc67469d3 Route sources of panics to the crate's fmt macros 2024-06-28 22:52:03 +02:00
Dario Nieuwenhuis
6a4ac5bd60 Add collapse_debuginfo to fmt.rs macros.
This makes location info in defmt logs point to the code calling the macro,
instead of always to fmt.rs as before. Fix works with nightlies
starting with today's, and stable 1.81+.
2024-06-17 01:38:57 +02:00
Ulf Lilleengen
d2045be9f3 fix broken links to embassy book 2024-06-03 08:45:05 +02:00
Ulf Lilleengen
cf0d227cca Prepare for embassy-sync 0.6.0 release 2024-05-29 12:09:55 +02:00
Vega Deftwing
9053b6b5b3 Fix spelling and white space mistakes 2024-04-11 19:45:38 +00:00
ZhangYong
9bc00e68fa update comments
use 4/5/6 as new firmware for better understanding
2024-03-24 18:25:04 +08:00
Dario Nieuwenhuis
3d842dac85 fmt: disable "unused" warnings. 2024-03-20 14:53:19 +01:00
Dario Nieuwenhuis
63d592c7b0
Merge pull request #2543 from badrbouslikhin/usb-dfu-erase-then-write
feat(boot): enhance firmware write functionality
2024-02-14 09:35:41 +01:00
Badr Bouslikhin
7dd974aa0d
refactor(boot): use sector instead of page for consistency 2024-02-12 23:28:04 +01:00
Badr Bouslikhin
56e6b6bee6
refactor(boot): move page erase index out of state 2024-02-12 23:24:21 +01:00
Badr Bouslikhin
333b2afe6d
test(boot): add various write firmware test configurations 2024-02-11 20:17:15 +01:00
Badr Bouslikhin
eb3bd39b06
feat(boot): enhance firmware write functionality 2024-02-11 20:16:17 +01:00
Badr Bouslikhin
8f7d80f9f7
Revert "feat(boot): introduce non-erase flash write method "
This reverts commit 2e8b7d259057a0cf345396b250cacfc04a0e64a0.
2024-02-11 19:38:15 +01:00
Badr Bouslikhin
2a09996a78
Merge branch 'embassy-rs:main' into usb-dfu-erase-then-write 2024-02-11 19:35:42 +01:00
Han Cen
d77b6a60d2
Fix unaligned buffer in async updater 2024-02-10 20:45:44 +08:00
Badr Bouslikhin
2e8b7d2590
feat(boot): introduce non-erase flash write method 2024-02-07 16:40:24 +01:00
Badr Bouslikhin
e391b9b74c
docs(boot): ignore partial non-compilable example in rustdoc 2024-02-07 14:37:38 +01:00
Badr Bouslikhin
634c409c55
docs(boot): document from_linkerfile_blocking method 2024-02-07 13:06:48 +01:00
Badr Bouslikhin
af2b4df833
refactor(boot): change generics name to match existing convention 2024-02-07 11:32:13 +01:00
Badr Bouslikhin
c267cb9ab7
feat: enhance bootloader for multiple flash support 2024-02-06 16:25:45 +01:00
Dario Nieuwenhuis
a36c8eb843 boot: bump crates to 0.2 2024-01-12 00:53:46 +01:00
Dario Nieuwenhuis
6a1c415a4c Complete cargo.tomls more. 2024-01-12 00:32:47 +01:00
Dario Nieuwenhuis
e0775fbc8a Flatten embassy-boot dir tree 2024-01-11 18:55:59 +01:00
Dario Nieuwenhuis
b452a6bcf6 Centralize license and MSRV boilerplate into the repo readme. 2024-01-11 18:18:35 +01:00
Maja Piechotka
b28629822b boot: Take maximum of READ_SIZE and WRITE_SIZE when checking sizes, fixes #2382 2024-01-06 15:21:24 -08:00
Ulf Lilleengen
896690c415 fix: remove git dependency in embassy-boot 2023-12-20 13:46:43 +01:00