Dario Nieuwenhuis
999a2ad829
Fix all check-cfg errors in the entire repo.
...
the main ci.sh now passes if running with nightly.
2024-05-31 21:54:42 +02:00
Badr Bouslikhin
cfc3e96633
fix(boot): update examples
2024-02-07 12:50:48 +01:00
Dario Nieuwenhuis
3387ee7238
stm32/gpio: remove generics.
2024-01-22 21:31:06 +01:00
Dario Nieuwenhuis
8b36a32ed5
ci: use beta, add secondary nightly ci.
2023-12-21 15:03:57 +01:00
Adam Greig
0621e957a0
time: Update examples, tests, and other code to use new Timer::after_x convenience methods
2023-10-15 01:30:12 +01: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
161d3ce05c
Add firmware updater examples to CI
...
CI was not building the a.rs application due to the requirement of b.bin
having been built first. Add a feature flag to examples so that CI can
build them including a dummy application.
Update a.rs application examples so that they compile again.
2023-06-19 23:34:07 +02:00
Rasmus Melchior Jacobsen
b527cc98af
Formatting
2023-05-30 14:05:38 +02:00
Rasmus Melchior Jacobsen
36e00caf4d
Align examples
2023-05-30 14:03:31 +02:00
Rasmus Melchior Jacobsen
860b519f99
Let Flash<Async/Blocking> be a thing
2023-05-25 21:40:54 +02:00
Rasmus Melchior Jacobsen
7371eefa86
Align with new bind_interrupt
2023-05-25 20:07:42 +02:00
Mathias
a7fdeac560
Remove flash lock/unlock public API from stm32 flash, and perform the unlocking and locking automatically on erase and write operations
2022-09-30 06:00:46 +02:00
Ulf Lilleengen
5bf6564e95
Use firmware writer in stm32{f7, h7} example app
...
The new FirmwareWriter is useful in particular for these architectures
due to the large erase sector size.
2022-09-26 20:36:57 +02:00
Ulf Lilleengen
3ca7314476
Remove generic const expressions from embassy-boot
...
* Remove the need for generic const expressions and use buffers provided in the flash config.
* Extend embedded-storage traits to simplify generics.
* Document all public APIs
* Add toplevel README
* Expose AlignedBuffer type for convenience.
* Update examples
2022-09-02 08:25:36 +02:00
Dario Nieuwenhuis
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00
Dario Nieuwenhuis
fc6e1e06b3
Remove HAL initialization from #[embassy::main] macro.
2022-08-17 22:16:46 +02:00
Dario Nieuwenhuis
a0f1b0ee01
Split embassy crate into embassy-executor, embassy-util.
2022-07-29 23:40:36 +02:00
Ulf Lilleengen
776be79f7b
Move bootloader main to examples
...
This should remove some confusion around embassy-boot-* being a library
vs. a binary. The binary is now an example bootloader instead.
2022-06-24 19:56:15 +02:00