Commit Graph

170 Commits

Author SHA1 Message Date
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
Kaitlyn Kenwell
976a7ae22a Add embassy-usb-dfu 2023-12-13 14:40:49 -05: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