10302 Commits

Author SHA1 Message Date
Matthew Tran
d35df5cfba embassy-usb-dfu: Change return of reset to ()
Also adds &self to the Reset trait, which makes it easier to implement
cleanup/delays before actually resetting.
2025-05-08 00:09:21 -05:00
Felipe Balbi
42c62ba899 Add OS Event timer support
Allow for the use of the OS Event timer as a time source.

Signed-off-by: Felipe Balbi <febalbi@microsoft.com>
2025-05-07 16:25:06 -07:00
Matt Rodgers
d46d3119ce Implement embedded-io-async traits for USB CDC ACM 2025-05-07 21:22:56 +01:00
1-rafael-1
4621c8aa7a Clarify comment for CoreVoltage enum regarding V1_20 2025-05-07 22:16:29 +02:00
Felipe Balbi
297ff3d032 clocks: remove defmt messages
Whenever any of the defmt-timestamp-uptime* features is enabled, defmt
will insert code that reads the timestamp in order to embed it into
the format string. This means that we *must* have a functional time
driver by the time the very first defmt message is printed.

Because clocks.rs is the part of the code setting up clocks that may,
indeed, be required by the chosen clock driver, it cannot contain any
defmt messages, otherwise it will trigger a read to a function that
does not yet exist.

Signed-off-by: Felipe Balbi <febalbi@microsoft.com>
2025-05-07 12:57:49 -07:00
1-rafael-1
a254daf4ff Changes after review 2025-05-07 21:19:09 +02:00
Felipe Balbi
64ce271af5 clocks: split clock and reset operations
Some peripherals need to control clock without touching the reset.

Signed-off-by: Felipe Balbi <febalbi@microsoft.com>
2025-05-07 10:39:25 -07:00
Felipe Balbi
70e2c05205 Rename rtc.rs to time_driver.rs
We will add another time driver for user selection.
2025-05-07 08:33:03 -07:00
Hiroaki Yutani
f5ddb9358f Remove tweak 2025-05-07 23:00:39 +09:00
Hiroaki Yutani
9d9ae7c5d5 Revert 2025-05-07 22:59:41 +09:00
Süha Ünüvar
bd3b3b4526 derive debug copy clone defmt for pwmpinconfig 2025-05-07 17:14:28 +08:00
Kat Perez
f2429c212e fix whitespace in the imports in trace.rs 2025-05-06 11:55:58 -04:00
Kat Perez
6085916714 use an intrusive linked list in TaskHeader to track tasks 2025-05-06 11:47:04 -04:00
Kat Perez
f4e0cbb7cc add ID field to TaskHeader 2025-05-06 09:59:27 -04:00
Henrik Alsér
6c6ae4f9fc
Merge pull request #4169 from vinsynth/main
Fix h7 SAI example start sequence
2025-05-06 13:59:07 +00:00
Kat Perez
54b3fb6e7a remove name from TaskRegistry and retrieve from task header instead 2025-05-06 09:27:19 -04:00
Kat Perez
61f0f889a0 add get/set for task name 2025-05-06 09:23:39 -04:00
Kat Perez
05d52decb2 add name to TaskHeader 2025-05-06 09:04:21 -04:00
Kat Perez
bbffd2b3f9 whitespace in the documentation 2025-05-06 08:27:46 -04:00
Kat Perez
032898adf5 add a stub implementation for spawn_named
When rtos-trace is not enabled, spawn_named will use spawn instead
2025-05-06 08:27:46 -04:00
Kat Perez
f8f9c38b2e add a task registry to tracing infrastructure 2025-05-06 08:27:46 -04:00
Ulf Lilleengen
966914f465
Merge pull request #4125 from diondokter/configurable-bank-support
STM32: Configurable bank support
2025-05-06 12:12:10 +00:00
Dion Dokter
8017d58eb9 Merge branch 'main' into configurable-bank-support 2025-05-06 13:17:00 +02:00
Dion Dokter
73f11d238a Updated metapac tag 2025-05-06 13:15:26 +02:00
Ulf Lilleengen
af6f5ca0c4
Merge pull request #4172 from embassy-rs/update-net-changelog
fix: update embassy-net changelog
2025-05-06 10:50:26 +00:00
Ulf Lilleengen
254b203e1a fix: update embassy-net changelog 2025-05-06 12:47:29 +02:00
Dario Nieuwenhuis
9d1750bd5f
Merge pull request #4171 from yutannihilation/fix/spdifrx-invalid-sample
Fix clippy::bad_bit_mask
2025-05-06 09:03:25 +00:00
Hiroaki Yutani
b1d37cbf22 Try another tweak 2025-05-06 12:17:46 +09:00
Hiroaki Yutani
326c88c966 One more tweak 2025-05-06 12:13:53 +09:00
Hiroaki Yutani
103cda4991 Add a temporary tweak 2025-05-06 12:11:03 +09:00
Hiroaki Yutani
5105442f1f Fix clippy::bad_bit_mask 2025-05-06 09:44:00 +09:00
Hiroaki Yutani
0460a924ac chore: Wrap link_section attribute with unsafe 2025-05-06 09:09:22 +09:00
vinsynth
57938d1174 fix h7 sai example start sequence 2025-05-05 17:32:38 -04:00
1-rafael-1
0d03aa0bec rework init() 2025-05-05 22:55:09 +02:00
Ulf Lilleengen
6034b17728
Merge pull request #4167 from JuliDi/embassy-sync-docs
Clarify docs for signal and watch
2025-05-05 07:31:50 +00:00
Hiroaki Yutani
a97be9c740 Handle negative value 2025-05-05 12:41:20 +09:00
JuliDi
723ebfcb4f
clarify docs for signal and watch 2025-05-04 16:31:26 +02:00
Dario Nieuwenhuis
9fee43f2bd
Merge pull request #4164 from yutannihilation/patch-1
doc: Tweak the example `rust-toolchain.toml`
2025-05-04 11:20:52 +00:00
Hiroaki Yutani
a42fa0a67a Tweak 2025-05-04 09:54:37 +09:00
Hiroaki Yutani
0406b83c52
Tweak the example rust-toolchain.toml in doc 2025-05-04 09:39:35 +09:00
Dario Nieuwenhuis
93ff90db04
Merge pull request #4161 from nyurik/readme
chore: minor readme cleanup
2025-05-03 18:37:12 +00:00
1-rafael-1
3d9cac361e Add PIO clock divider utility and refactor related modules 2025-05-03 14:46:30 +02:00
Yuri Astrakhan
7f259aaff2 chore: minor readme cleanup
use simpler markdown linking, minor grammar cleanup
2025-05-02 21:57:27 -04:00
Dario Nieuwenhuis
7a97825427
Merge pull request #4160 from nyurik/probe-rs
chore: use `probe-rs` instead of `probe-run`
2025-05-02 23:18:47 +00:00
Yuri Astrakhan
e5c03e1e79 chore: use probe-rs instead of probe-run
I found a few remaining deprecated `probe-run` cases.
2025-05-02 17:56:32 -04:00
1-rafael-1
3441e80507 first batch of changes after review 2025-05-02 23:51:28 +02:00
Marc
8f3b6643b3 And another fix, should be the last failing example 2025-05-02 14:36:08 +02:00
Marc
371373886b Fix examples for rp235x 2025-05-02 14:23:58 +02:00
Marc
d799af9dd8 Replace generic inner with arguments 2025-05-02 13:40:50 +02:00
Marc
407540c8fe Remove some forgotten commented out code 2025-05-02 13:32:09 +02:00