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 2e8b7d2590
.
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
Dario Nieuwenhuis
c7841a37fa
boot: update ed25519-dalek in dev-dependencies.
2023-12-19 22:26:50 +01:00
Ulf Lilleengen
4567b87482
cargo fmt
2023-12-19 21:21:52 +01:00
Ulf Lilleengen
12de90e13d
fix: update ed25519-dalek to new version
2023-12-19 21:20:30 +01:00
Ulf Lilleengen
efd5dbe019
fix: build warnings
2023-12-19 20:25:20 +01:00
Ulf Lilleengen
9d46ee0758
fix: update salty to released version
2023-12-19 20:24:55 +01:00
Ulf Lilleengen
5ec2fbe3a2
Merge pull request #2284 from Redrield/feature/embassy-usb-dfu
...
Add embassy-usb-dfu crate, with related modifications to embassy-boot
2023-12-14 19:56:04 +00:00
Kaitlyn Kenwell
c1438fe87b
fmt
2023-12-14 09:38:02 -05:00
Kaitlyn Kenwell
e27e00f628
Address reviews
2023-12-14 09:36:22 -05:00
Priit Laes
b17f16f0af
embassy-boot: Fix formatting for tables
...
Tables describing the a-b flashing were all garbled up in the
cargo doc output, so fix up the syntax.
2023-12-14 09:12:54 +02:00
Kaitlyn Kenwell
b60b3f4eb8
Last fmt hopefully
2023-12-13 16:19:59 -05:00
Kaitlyn Kenwell
702d2a1a19
Formatting fixes, add example using stm32wb55
2023-12-13 16:08:20 -05:00
Kaitlyn Kenwell
2afec225e3
Merge branch 'main' into feature/embassy-usb-dfu
2023-12-13 14:42:14 -05:00