10424 Commits

Author SHA1 Message Date
Robin Mueller
da392ed942
Update embassy-sync/src/mutex.rs
Co-authored-by: James Munns <james@onevariable.com>
2025-07-09 14:26:20 +02:00
Robin Mueller
42c8379c5a some minor documentation fixes 2025-07-09 14:21:19 +02:00
Dario Nieuwenhuis
ca667f124f
Merge pull request #4289 from rursprung/prepare-release-for-embassy-rp
prepare release for `embassy-rp` & dependencies
2025-07-08 21:15:57 +00:00
Ralph Ursprung
22e77cb675
embassy-rp: add release automation using cargo-release
this requires you to install [`cargo-release`].
note that this does not include a URL pointing to the diff on GitHub as
is usually done in changelogs since `embassy` is a mono-repo and the GH
UI doesn't offer a commit view per folder (see the [GH feature request]
for this).

[`cargo-release`]: https://crates.io/crates/cargo-release
[GH feature request]: https://github.com/orgs/community/discussions/162131
2025-07-08 23:05:51 +02:00
Ralph Ursprung
74101a8625
prepare changelog for embassy-rp v0.5.0 2025-07-08 23:05:50 +02:00
Ralph Ursprung
cd2c9c7e85
embassy-embedded-hal: add release automation using cargo-release
this requires you to install [`cargo-release`].
note that this does not include a URL pointing to the diff on GitHub as
is usually done in changelogs since `embassy` is a mono-repo and the GH
UI doesn't offer a commit view per folder (see the [GH feature request]
for this).

[`cargo-release`]: https://crates.io/crates/cargo-release
[GH feature request]: https://github.com/orgs/community/discussions/162131
2025-07-08 23:05:50 +02:00
Ralph Ursprung
db58ce03cc
prepare changelog for embassy-embedded-hal v0.4.0 2025-07-08 23:05:50 +02:00
Ralph Ursprung
112c7a1665
embassy-time: add release automation using cargo-release
this requires you to install [`cargo-release`].
note that this does not include a URL pointing to the diff on GitHub as
is usually done in changelogs since `embassy` is a mono-repo and the GH
UI doesn't offer a commit view per folder (see the [GH feature request]
for this).

[`cargo-release`]: https://crates.io/crates/cargo-release
[GH feature request]: https://github.com/orgs/community/discussions/162131
2025-07-08 23:05:50 +02:00
Ralph Ursprung
bb1b682deb
prepare changelog for embassy-time v0.4.1 2025-07-08 23:05:49 +02:00
Ralph Ursprung
80bb09cdb1
embassy-time-driver: add release automation using cargo-release
this requires you to install [`cargo-release`].
note that this does not include a URL pointing to the diff on GitHub as
is usually done in changelogs since `embassy` is a mono-repo and the GH
UI doesn't offer a commit view per folder (see the [GH feature request]
for this).

[`cargo-release`]: https://crates.io/crates/cargo-release
[GH feature request]: https://github.com/orgs/community/discussions/162131
2025-07-08 23:05:49 +02:00
Ralph Ursprung
9f9c6f328d
prepare changelog for embassy-time-driver v0.2.1 2025-07-08 23:05:49 +02:00
Ralph Ursprung
a52ca758ac
embassy-executor: add release automation using cargo-release
this requires you to install [`cargo-release`].
note that this does not include a URL pointing to the diff on GitHub as
is usually done in changelogs since `embassy` is a mono-repo and the GH
UI doesn't offer a commit view per folder (see the [GH feature request]
for this).

[`cargo-release`]: https://crates.io/crates/cargo-release
[GH feature request]: https://github.com/orgs/community/discussions/162131
2025-07-08 23:05:48 +02:00
Ralph Ursprung
1c515937ff
prepare changelog for embassy-executor v0.8.0 2025-07-08 23:05:48 +02:00
Ralph Ursprung
27bae26172
embassy-usb: add release automation using cargo-release
this requires you to install [`cargo-release`].
note that this does not include a URL pointing to the diff on GitHub as
is usually done in changelogs since `embassy` is a mono-repo and the GH
UI doesn't offer a commit view per folder (see the [GH feature request]
for this).

[`cargo-release`]: https://crates.io/crates/cargo-release
[GH feature request]: https://github.com/orgs/community/discussions/162131
2025-07-08 23:04:30 +02:00
Ralph Ursprung
e38b3c5252
prepare changelog for embassy-usb v0.5.0 2025-07-08 23:04:30 +02:00
Ralph Ursprung
010c626a11
embassy-inet-driver-channel: add release automation using cargo-release
this requires you to install [`cargo-release`].
note that this does not include a URL pointing to the diff on GitHub as
is usually done in changelogs since `embassy` is a mono-repo and the GH
UI doesn't offer a commit view per folder (see the [GH feature request]
for this).

[`cargo-release`]: https://crates.io/crates/cargo-release
[GH feature request]: https://github.com/orgs/community/discussions/162131
2025-07-08 23:04:29 +02:00
Ralph Ursprung
e9296b547a
prepare changelog for embassy-net-driver-channel v0.4.0 2025-07-08 23:04:29 +02:00
Ralph Ursprung
1d522c6e4f
embassy-usb-driver: add release automation using cargo-release
this requires you to install [`cargo-release`].
note that this does not include a URL pointing to the diff on GitHub as
is usually done in changelogs since `embassy` is a mono-repo and the GH
UI doesn't offer a commit view per folder (see the [GH feature request]
for this).

[`cargo-release`]: https://crates.io/crates/cargo-release
[GH feature request]: https://github.com/orgs/community/discussions/162131
2025-07-08 23:04:28 +02:00
Ralph Ursprung
88076255ba
add changelog for embassy-usb-driver 2025-07-08 23:04:28 +02:00
Ralph Ursprung
1bc17b0964
embassy-futures: add release automation using cargo-release
this requires you to install [`cargo-release`].
note that this does not include a URL pointing to the diff on GitHub as
is usually done in changelogs since `embassy` is a mono-repo and the GH
UI doesn't offer a commit view per folder (see the [GH feature request]
for this).

[`cargo-release`]: https://crates.io/crates/cargo-release
[GH feature request]: https://github.com/orgs/community/discussions/162131
2025-07-08 23:04:28 +02:00
Ralph Ursprung
ca21140f5e
add changelog for embassy-futures 2025-07-08 23:04:27 +02:00
Ralph Ursprung
0448d1fc50
fix release/bump-dependency.sh: don't generate backup files
the `-rie` arguments of `sed` were probably meant as `-r -i -e`,
however, due to the way it was written it ended up being `-r -i e`, thus
causing `-i` (edit in-place) to generate backup files. so for every
edited `Cargo.toml` it also created a `Cargo.tomle` with the previous
content.

`-e` is anyway not needed as the last argument of `sed` here is the
expression to be executed.
2025-07-08 23:04:20 +02:00
Dario Nieuwenhuis
51e4663625
Merge pull request #4382 from embassy-rs/fix-spawner-unsound
executor: mark Spawner::for_current_executor() as unsafe.
2025-07-08 20:48:20 +00:00
Dario Nieuwenhuis
0c136c7b05 executor: mark Spawner::for_current_executor() as unsafe.
It's unsound with manually-created Contexts, see https://github.com/embassy-rs/embassy/issues/4379
2025-07-08 22:39:53 +02:00
Dario Nieuwenhuis
08c033ae2e
Merge pull request #4381 from embassy-rs/fix-executor-impl-future-unsound
excutor: fix Send unsoundness with `-> impl Future` tasks.
2025-07-08 20:37:25 +02:00
Dario Nieuwenhuis
2fe2a0cf9c excutor: fix Send unsoundness with -> impl Future tasks. 2025-07-08 20:27:35 +02:00
Dario Nieuwenhuis
504261a8d0 Reenable rpi pico tests. 2025-07-07 23:33:10 +02:00
i509VCB
f56197c51e
Merge pull request #4338 from i509VCB/dma
mspm0: add dma driver
2025-07-07 03:02:48 +00:00
i509VCB
e57dffafa5
mspm0: add dma driver 2025-07-06 17:40:10 -05:00
Dario Nieuwenhuis
d7d0828d5c
Merge pull request #4370 from cmilatinov/feature/stm32-sample-shifting
embassy-stm32: Added sample shifting to qspi config
2025-07-06 20:37:46 +00:00
Dario Nieuwenhuis
78af9ae8af
Merge pull request #4358 from skoe/opamp_rcc
Use proper RCC clock enable for opamps
2025-07-06 18:49:17 +00:00
Thomas Giesel
bfbecdf93a Use proper RCC clock enable for opamps
new() now resets the opamp and enables its clock. The clock is
disabled when the opamp is dropped. On families that use
SYSCFGEN (F3 and G4), this is not done because this
clock is always on in Embassy.

This change makes use of the RCC driver, which uses a reference
counter to prevent conflicts. The opamp itself is still disabled
when its output is dropped.
2025-07-05 22:47:24 +02:00
Cristian Milatinov
bd5b1580df Run cargo fmt 2025-07-05 01:34:10 -04:00
Cristian Milatinov
9134fb2dd4 Update examples to add SampleShifting in qspi config 2025-07-05 01:32:21 -04:00
Cristian Milatinov
1f87e47831 Run cargo fmt 2025-07-05 01:15:15 -04:00
Cristian Milatinov
fb21fcf4f1 Added sample shifting to qspi config for stm32 2025-07-05 00:47:30 -04:00
Dario Nieuwenhuis
f53b6649dd
Merge pull request #4356 from embassy-rs/update-rust5
Update Rust nightly, stable.
2025-07-03 23:20:58 +00:00
Dario Nieuwenhuis
a29267752a stm32/sdmmc: disable 1bit test. 2025-07-04 00:26:41 +02:00
Dario Nieuwenhuis
c8a4a49958 stm32/sdmmc: misc improvements 2025-07-04 00:25:00 +02:00
Dario Nieuwenhuis
3127e1c50b sdmmc: use div_ceil. 2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
84cc949df6 stm32/dma: fix packing/unpacking not working. 2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
00b2567fbf stm32/dma: add missing fence on BDMA start. 2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
72248a601a Update Rust nightly, stable. 2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
b964bee302
Merge pull request #4366 from mattwigway/uart-line-break
Add note about UART line breaks being different from ASCII
2025-07-03 16:00:23 +00:00
Matt Bhagat-Conway
da6c4ff31a
remove line break reference from documentation 2025-07-03 11:54:00 -04:00
Matt Bhagat-Conway
6545b05188
fix rustfmt in read_to_break docstring 2025-07-03 10:37:49 -04:00
Matt Bhagat-Conway
388eee221e
add note about UART line breaks being different from ASCII 2025-07-03 10:31:28 -04:00
Dario Nieuwenhuis
4af2d9adc4
Merge pull request #4365 from qwerty19106/stm32_impl_nb_write
stm32: Fix impl embedded_hal_nb::serial::Write for usart::UartTx
2025-07-03 14:24:43 +00:00
qwerty19106
e256f1360b Fix impl embedded_hal_nb::serial::Write for embassy_stm32::usart::UartTx 2025-07-03 18:17:01 +04:00
Ulf Lilleengen
4727c07a08
Merge pull request #4330 from innermatrix/stm32-adc-v1-watchdog
Added STM32 ADCv1 analog watchdog implementation
2025-07-03 14:10:31 +00:00