10051 Commits

Author SHA1 Message Date
Ulf Lilleengen
64a2b9b2a3
Merge pull request #4170 from yutannihilation/chore/fix-unsafe-attribute-rust2024
chore: Wrap `link_section` attribute in example code with `unsafe()` for compatibility with Rust 2024 edition
2025-05-09 13:05:23 +02:00
Ulf Lilleengen
aa8703360e
Merge pull request #4168 from yutannihilation/fix/rotary-encoder-rxf-negative-value
Fix `rotary_encoder_rfx` example to handle negative values
2025-05-09 12:39:37 +02:00
Ulf Lilleengen
4dbaa01870
Merge pull request #4175 from felipebalbi/imxrt-rtos-timer
iMXRT OS timer
2025-05-09 12:39:11 +02:00
Ulf Lilleengen
8b80195843
Merge pull request #4176 from matt-rodgers/cdc-acm-embedded-io-async
Implement embedded-io-async traits for USB CDC ACM
2025-05-09 12:38:52 +02:00
Ulf Lilleengen
e0920e8c66
Merge pull request #4178 from diondokter/opamp-fix
Stm32: Fix opamp copy pasta mistake
2025-05-09 08:51:23 +00:00
Dion Dokter
65bd86f19f Stm32: Fix opamp copy pasta mistake 2025-05-08 13:40:21 +02:00
Ulf Lilleengen
ca5ebe859a
Merge pull request #4177 from 0e4ef622/usbdfu-will-detach
embassy-usb-dfu: Modify Reset trait
2025-05-08 10:44:47 +00:00
Matthew Tran
5c0a63a0dd embassy-usb-dfu: Reset immediately if WILL_DETACH is set
This is necessary to support the windows WinUSB driver which is not
capable of generating the USB reset.
2025-05-08 00:12:00 -05:00
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
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
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
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
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
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
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
Dario Nieuwenhuis
716160e9ab
Merge pull request #4154 from embassy-rs/update-metapac-491
Update stm32-metapac
2025-05-01 16:56:47 +00:00
Dario Nieuwenhuis
38fd357536 Update stm32-metapac 2025-05-01 18:38:37 +02:00
Dario Nieuwenhuis
03122737c1
Merge pull request #4153 from embassy-rs/remove-nrf-ble
Remove embassy_nrf:📻:ble.
2025-05-01 13:35:20 +00:00
Dario Nieuwenhuis
df84dfec7a Remove embassy_nrf:📻:ble.
Fixes #4144
2025-05-01 15:33:02 +02:00
Dion Dokter
e478bdf1df Remove all notion of 'default' and 'alt' flash layouts. Now there's just the one layout. 2025-05-01 14:28:06 +02:00
Dion Dokter
59d839a2b8 Fix dual bank support for F7 2025-05-01 13:37:12 +02:00
Dion Dokter
cff6eb9a81 Fix more CI 2025-05-01 11:52:48 +02:00
Dion Dokter
66b8fdc818 Fix f7 boot example 2025-05-01 11:28:57 +02:00
Dion Dokter
28a98ed0df Fix f7 example 2025-05-01 11:20:38 +02:00
Dion Dokter
a83726b77e Fix the f4 flash tests by throwing away alt mode 2025-05-01 11:15:14 +02:00
Dion Dokter
ace20f40ad Maybe fixed all CI 2025-05-01 10:35:10 +02:00