Dario Nieuwenhuis
f663f3b675
Merge pull request #3850 from vic1707/patch-1
...
Disable clippy error around generated main function
2025-02-04 23:55:39 +00:00
Victor LEFEBVRE
26c6ab7587
Update main.rs
2025-02-05 00:16:10 +01:00
James Munns
a2014c961d
Merge pull request #3848 from wackazong/patch-5
...
Add must_use to MutexGuard
2025-02-04 16:18:08 +00:00
wackazong
0f04878301
Add must_use to MutexGuard
2025-02-04 17:12:26 +01:00
Dario Nieuwenhuis
d3059bbcf7
Merge pull request #3845 from vinsynth/main
...
update examples/stm32f4/.../i2s_dma.rs
2025-02-04 13:10:24 +00:00
Ulf Lilleengen
e0eefbb81f
Merge pull request #3846 from wackazong/patch-4
...
Add saturating_add and saturating_sub to Instant
2025-02-04 11:40:57 +00:00
wackazong
865266a4ae
Take self instead of &mut self
...
This is more idiomatic since methods with these names usually take self and not &mut self.
2025-02-04 11:09:52 +01:00
wackazong
b7fbf6d519
Add saturating_add and saturating_sub to Instant
2025-02-04 11:03:17 +01:00
vinsynth
b0e3a6481b
document clock settings in examples/stm32f4/.../i2s_dma.rs
2025-02-03 22:52:38 -05:00
vinsynth
b5a6353714
update examples/stm32f4/.../i2s_dma.rs
2025-02-03 22:40:42 -05:00
Dario Nieuwenhuis
2c8a550410
Merge pull request #3842 from jamessizeland/improve-spawn-busy-error
...
improve SpawnError::Busy message
2025-02-03 23:34:53 +00:00
James Sizeland
c1671572b4
improve SpawnError::Busy message
2025-02-03 23:08:55 +00:00
Dario Nieuwenhuis
f03dca3f96
Merge pull request #3841 from vDorst/fix-core-intrinsics-deprecated
...
embassy-usb: fix `core::intrinsics` deprecate warning in nightly.
2025-02-03 21:24:51 +00:00
René van Dorst
d363401ba5
embassy-usb: fix core::intrinsics
deprecate warning in nightly.
...
Replaced `core::intrinsics::copy_nonoverlapping` with the
`core::ptr::copy_nonoverlapping`.
Compiling embassy-usb v0.4.0 (embassy/embassy-usb)
warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
--> embassy/embassy-usb/src/class/cdc_ncm/mod.rs:17:23
|
17 | use core::intrinsics::copy_nonoverlapping;
| ^^^^^^^^^^^^^^^^^^^
2025-02-03 22:08:23 +01:00
Dario Nieuwenhuis
113383b8b1
Merge pull request #3840 from bugadani/inline
...
Allow inlining on time driver boundary
2025-02-03 16:42:38 +00:00
Dániel Buga
37b180c61e
Allow inlining on time driver boundary
2025-02-03 17:20:35 +01:00
Dario Nieuwenhuis
8c5e34604c
Merge pull request #3837 from klownfish/nrf-reg0
...
nRF52833: configure internal LDO
2025-02-03 00:33:34 +00:00
Dario Nieuwenhuis
81e2d12cc2
Merge pull request #3836 from vinsynth/main
...
set PLLI2S M and SRC for f4 chips which support it
2025-02-03 00:24:33 +00:00
vinsynth
6ec72c0af0
set PLLI2SM and plli2s_src f423
2025-02-02 18:53:06 -05:00
vinsynth
ce04cf8340
set PLLI2S M and SRC for f4 chips which support it
2025-02-02 18:12:34 -05:00
Dario Nieuwenhuis
69925764dc
Merge pull request #3833 from embediver/main
...
Add cancel safety notes to Ticker
2025-02-02 22:53:02 +00:00
Marvin Gudel
ec5f283d15
Add cancel safety notes to Ticker
2025-02-02 14:28:45 +01:00
Dario Nieuwenhuis
ae5ad91bbb
Merge pull request #3829 from lsartory/fix_3828
...
Fix issue #3828
2025-02-02 10:48:04 +00:00
Dario Nieuwenhuis
a2791aefb3
Merge pull request #3832 from Graicc/patch-1
...
Fix typo in getting started docs
2025-02-02 10:47:12 +00:00
Graic
89b5795eec
Fix typo in getting started docs
2025-02-01 18:06:43 -05:00
lsartory
7d66f1ca19
Fix issue #3828
...
Zero-copy channels could not be used between interrupts and thread-mode
tasks because the internal buffer is stored as a raw pointer.
A wrapper struct implementing the Sync trait fixes this.
2025-02-01 16:43:41 +01:00
Dario Nieuwenhuis
1b44034208
Merge pull request #3824 from embassy-rs/rip
...
RIP nrf52833-dk
2025-01-29 22:28:05 +00:00
Dario Nieuwenhuis
1df510e5c9
RIP nrf52833-dk
2025-01-29 23:25:36 +01:00
Dario Nieuwenhuis
6ca31d765a
Merge pull request #3823 from flippette/main
...
Correct ADC channels for RP235XB
2025-01-29 22:22:18 +00:00
flippette
9d353d251c
Correct ADC channels for RP2350XB
2025-01-30 00:16:36 +02:00
klownfish
640612a47f
nrf52833: configure internal LDO
2025-01-28 22:27:18 +01:00
Dario Nieuwenhuis
f6532e8f2c
Merge pull request #3814 from Easyoakland/fix-udp-send
...
Fix udp send pt2
2025-01-27 01:09:39 +01:00
Easyoakland
89e25c7b14
don't mention Poll::Ready for async fns as it's implied
2025-01-26 16:55:52 -07:00
Easyoakland
cbbc1f1a2f
update comments to match code
2025-01-26 16:36:12 -07:00
Dario Nieuwenhuis
7ec0b30484
Merge pull request #3804 from Easyoakland/fix-udp-send
...
Return Truncate error instead of looping forever on udp send.
2025-01-26 23:02:05 +00:00
Easyoakland
c0d14a145c
- use with
...
- rename to Truncated to `PacketTooLarge`
2025-01-26 15:51:31 -07:00
Dario Nieuwenhuis
ecc1aab867
Merge pull request #3813 from embassy-rs/stm32-eth-simplify-smi
...
stm32/eth: rename PHY->Phy, GenericSMI -> GenericPhy. Remove unneeded unsafes.
2025-01-26 21:52:43 +00:00
Dario Nieuwenhuis
b1245858f3
stm32/eth: rename PHY->Phy, GenericSMI -> GenericPhy. Remove unneeded unsafes.
...
We shouldn't use `unsafe` to mark merely "dangerous" actions, only actions that
actually cause UB.
2025-01-26 22:43:28 +01:00
Dario Nieuwenhuis
c8d29a1e2c
Merge pull request #3795 from nikvoid/stm32-phy-addr-detection
...
STM32: Option to detect Ethernet PHY address automatically
2025-01-26 21:21:06 +00:00
Dario Nieuwenhuis
ff52bde787
stm32: change all examples and tests to use GenericSMI::new_auto().
2025-01-26 22:17:25 +01:00
Dario Nieuwenhuis
7e0c70b1aa
Merge pull request #3812 from noracarmig/sai_v3_dma
...
Allow stm32 H7 and L5 families to use external SAI sync & allow recovering after dropping a DMA channel
2025-01-26 20:21:51 +00:00
Dario Nieuwenhuis
3064318220
Merge pull request #3811 from elagil/fix_stm32h5_ucpd
...
Fix STM32H5 UCPD reception
2025-01-26 20:20:25 +00:00
Dario Nieuwenhuis
845da2ced1
Merge pull request #3810 from Freax13/enhancement/invalid-i2c-rp
...
remove checks for reserved I2c addresses
2025-01-26 16:53:17 +00:00
Tom Dohrmann
3e5514653f
remove checks for reserved I2c addresses
...
There are some non-compliant devices that respond to reserved I2c
addresses. rp2040 behaves sanely for these addresses, so let's just
allow using them.
2025-01-26 17:43:04 +01:00
elagil
d9026f06fe
fix: STM32H5 UCPD reception
2025-01-26 17:33:26 +01:00
noracarmig
fcacbae233
Allow chips from L5 (sai_v3_2pdm) and H7 (sai_v3_4pdm) families to use external sai sync
2025-01-26 15:58:52 +00:00
Dario Nieuwenhuis
7db46771b8
Merge pull request #3807 from ibuki2003/sync-channel-clear-wakeup
...
embassy-sync: fix clear() to wake senders
2025-01-26 15:43:07 +00:00
Dario Nieuwenhuis
ef78441ec1
Merge pull request #3808 from embassy-rs/jamesmunns-patch-1
...
Set embassy-rp target in docs-rs metadata
2025-01-26 15:32:59 +00:00
noracarmig
72020fc012
Reset complete count global variable on Dma configure
2025-01-26 14:53:10 +00:00
James Munns
f2128a2953
Update Cargo.toml
...
Avoid docs.rs build failures like https://docs.rs/crate/embassy-rp/0.3.0/builds/1609962
2025-01-26 12:53:39 +01:00