Kaitlyn Kenwell
29114c849d
fmt
2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
4757257ac0
Address reviews
2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
686ee2cb14
Last fmt hopefully
2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
ea21052fde
Formatting fixes, add example using stm32wb55
2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
0b26b2d360
Add embassy-usb-dfu
2023-12-19 22:56:25 +01: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
Ulf Lilleengen
876faa5685
docs: more docs in embassy-boot crate documentation
2023-12-13 19:00:26 +01:00
Priit Laes
6782fb1efa
embassy-boot: Add explanation to dfu vs active size assertion
2023-12-13 11:44:16 +02:00
Scott Mabin
334900752a
update release version in examples and other crates
2023-12-04 13:15:10 +00:00
Dario Nieuwenhuis
03325ea81b
update embedded-storage{,-async}, remove patch.
2023-12-04 13:48:36 +01:00
Dario Nieuwenhuis
c6989dfbca
Remove nightly and unstable-traits features in preparation for 1.75.
2023-11-29 17:26:33 +01:00
Dario Nieuwenhuis
e519e00265
Update Rust nightly.
2023-11-01 04:56:56 +01:00
Dániel Buga
d941882066
Prepare embassy-net 0.2.1 and embassy-sync 0.4.0
2023-10-31 09:33:27 +01:00
Ulf Lilleengen
1b20ba27b1
feat: bump embassy-sync version to 0.3.0
...
Update changelog in preparation for release
2023-09-14 18:26:00 +02:00
Dario Nieuwenhuis
5e613d9abb
Sync all fmt.rs files.
2023-08-30 01:37:18 +02:00
Dario Nieuwenhuis
b948e37769
rp/flash: change naming to blocking_*
, new_blocking
.
...
- Needed for consistency with other drivers.
- Having two `new()` functions sometimes resulted in 'multiple applicable methods' errors.
2023-08-18 13:21:21 +02:00
Ulf Lilleengen
55ff397c0c
boot: release flash after prepare and refactor api
...
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.
2023-08-11 20:58:31 +02:00
Ulf Lilleengen
a34331ae5f
Refactor firmware updater
...
* Allow manipulating state without accessing DFU partition.
* Provide aligned buffer when creating updater to reduce potential wrong parameters passed.
2023-08-06 19:46:53 +02:00
Ulf Lilleengen
bcaef1de18
feat: make nrf bootloader watchdog generic for any flash
2023-08-02 22:57:42 +02:00
Derek Hageman
7ed9e29326
rp: add async flash
...
Implement an async flash mode using the XIP background best effort
read interface. Only reads are actually async, write and erase remain
blocking.
2023-07-28 16:50:54 -06:00
Kaspar Schleiser
837d3bcdbb
embassy-boot/nrf/README.md: typo fix
2023-06-29 14:43:31 +02:00
Ulf Lilleengen
76659d9003
Prevent accidental revert when using firmware updater
...
This change prevents accidentally overwriting the previous firmware before
the new one has been marked as booted.
2023-06-19 22:39:00 +02:00
Rasmus Melchior Jacobsen
c22d2b5b5b
Remove unused use's
2023-05-30 14:15:52 +02:00
Rasmus Melchior Jacobsen
b703db4c09
Fix verify test
2023-05-30 14:07:35 +02:00
Rasmus Melchior Jacobsen
36e00caf4d
Align examples
2023-05-30 14:03:31 +02:00
Rasmus Melchior Jacobsen
887ecef369
Align stm32
2023-05-30 13:57:19 +02:00
Rasmus Melchior Jacobsen
24dee870a8
Align rp
2023-05-30 13:57:03 +02:00
Rasmus Melchior Jacobsen
54bbb4400d
Align nrf
2023-05-30 13:56:35 +02:00
Rasmus Melchior Jacobsen
c6a984f506
Align tests
2023-05-30 13:55:49 +02:00
Rasmus Melchior Jacobsen
551f76c700
Remove legacy Partition type and use the one from embedded-hal
2023-05-30 13:44:12 +02:00
Rasmus Melchior Jacobsen
b23e40f722
Add TestFlash helper
2023-05-30 13:41:10 +02:00
Rasmus Melchior Jacobsen
1cd87f0028
Cleanup MemFlash
2023-05-30 13:40:04 +02:00
Rasmus Melchior Jacobsen
c5ec453ec1
Add bootloader helper for creating config from linkerfile symbols
2023-05-30 13:38:00 +02:00
Rasmus Melchior Jacobsen
5205b5b095
Split FirmwareUpdater into async and blocking types
2023-05-30 13:36:42 +02:00
Rasmus Melchior Jacobsen
392ed64f6f
Merge remote-tracking branch 'upstream/main' into remove-bootloader-partitions
2023-05-30 13:24:15 +02:00
Dario Nieuwenhuis
f8a835be27
Merge pull request #1506 from embassy-rs/ci-fixes
...
ci: fix nrf, rp tests.
2023-05-29 20:07:28 +00:00
Dario Nieuwenhuis
1a31b03976
ci: fix nrf, rp tests.
2023-05-29 22:01:19 +02:00
Rasmus Melchior Jacobsen
94046f30ff
Remove the usage of the local Partition type in BootLoader
2023-05-29 22:00:44 +02:00
Rasmus Melchior Jacobsen
c844894a6e
Split the FirmwareUpdater into blocking and async
2023-05-29 21:29:13 +02:00
Rasmus Melchior Jacobsen
18c62aa5b4
Protect default implementations for FirmwareUpdater and BootLoader
...
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.
2023-05-22 11:32:39 +02:00
Dario Nieuwenhuis
9f7392474b
Update Rust nightly.
2023-05-19 17:12:39 +02:00
sander
a73f9474a0
embassy-boot: ensure tests can run on the stable compiler
2023-04-20 10:56:59 +02:00
sander
0e01b28d5e
embassy-boot: resolve conflicts
2023-04-20 10:40:40 +02:00
sander
8aca324c2d
Merge commit '2c1d572cf2e225be5f30435b133e96aa55c9d3af'
2023-04-20 10:38:54 +02:00
sander
7ee9e8322c
Merge commit '970a081aab0567a387463610eb204a3b003255f9'
2023-04-20 10:36:15 +02:00
sawi97
43c20dbe65
Merge branch 'embassy-rs:master' into embassy-boot-stable
2023-04-20 10:29:16 +02:00
sander
8cd117fd5d
embassy-boot: update readme MSRV to stable
2023-04-20 10:26:02 +02:00
sander
b153a5b0d7
embassy-boot: add nightly feature to stm32 and rp as well
2023-04-20 10:04:41 +02:00
Lachezar Lechev
f67eb84ec7
chore: add embassy-boot-rp to README
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-04-20 09:20:02 +03:00
sander
3002ee0dcf
embassy-boot: add nightly feature gate for async usage
2023-04-14 11:27:23 +02:00