10171 Commits

Author SHA1 Message Date
Matt Allen
5e3cfc7b5c
Merge branch 'embassy-rs:main' into stm32-pwm-pin-config 2025-03-07 10:41:36 -05:00
Ulf Lilleengen
7c49f482d7
Merge pull request #3943 from AlexCharlton/patch-1
Update README.md to include a reference to mpfs-hal
2025-03-06 20:29:54 +00:00
Alex Charlton
3525771e84 Add mpfs-hal references to docs 2025-03-06 11:57:07 -08:00
Matt Allen
91d8175f62 Fixed documentation 2025-03-06 09:44:06 -05:00
Matt Allen
1646dc36f2 Added gpio version specific code 2025-03-06 09:41:07 -05:00
Ulf Lilleengen
d378dca352
Merge pull request #3930 from meowcakes/fix_uart
Fix STM32 UART: Add separate TX waker and only clear idle flag in RingBufferedUartRx
2025-03-06 07:21:08 +00:00
Ulf Lilleengen
6af79f00e8
Merge pull request #3935 from edenbarby/main
embassy-rp: pio: Add access to DMA engine byte swapping
2025-03-06 07:13:03 +00:00
Matt Allen
f22649e008 Added function to channel_impl to allow full configuration of the pin 2025-03-05 22:10:00 -05:00
Alex Charlton
8b3460fd4e
Update README.md to include a reference to mpfs-hal 2025-03-03 14:09:14 -08:00
Ulf Lilleengen
0edd45e610
Merge pull request #3931 from hvraven/stm32-sai-fix
stm32: do not use private constructor
2025-03-03 08:12:04 +00:00
Dario Nieuwenhuis
765094887d
Merge pull request #3939 from 0e4ef622/nrf53-int-cap
nrf5340: add internal capacitor config
2025-03-02 21:34:50 +00:00
Dario Nieuwenhuis
75c1ca2fa4
Merge pull request #3937 from 0e4ef622/nrf53-vreghvout
nrf5340: add regh_voltage config
2025-03-02 21:12:30 +00:00
Dario Nieuwenhuis
207dbcc7ae
Merge pull request #3938 from 9names/rp_unreleased_changelog
rp: Add unreleased changes to changelog
2025-03-02 22:08:25 +01:00
Matthew Tran
ec30e3ef91 nrf5340: add internal capacitor config 2025-03-02 00:06:41 -06:00
9names
4f6762ead9 rp: Add unreleased changes to changelog 2025-03-02 15:30:54 +11:00
Matthew Tran
26c689db3e nrf5340: add regh_voltage config 2025-03-01 17:32:55 -06:00
eden barby
24941212e8 Added access to the byte swap flag for RP2*** chips for the PIO state machine DMA calls. 2025-03-01 17:23:04 +10:00
Alix ANNERAUD
82c0ab01f1 Remove unnecessary comment in CriticalSectionRawRwLock implementation 2025-02-28 23:32:58 +01:00
Alix ANNERAUD
10fd6d1321 Refactor imports in raw read-write lock module for clarity 2025-02-28 23:30:01 +01:00
Alix ANNERAUD
f2afcecfa8 Remove obsolete raw_rwlock.rs file 2025-02-28 23:29:57 +01:00
Alix ANNERAUD
9cbdc9f11d Implement read-write lock methods in CriticalSectionRawRwLock and update tests 2025-02-28 23:26:59 +01:00
Alix ANNERAUD
5568478225 Fix module references in blocking read-write lock implementation 2025-02-28 16:41:41 +01:00
Alix ANNERAUD
33cf27adf6 Refactor blocking read-write lock module structure and improve assertions in ThreadModeRawRwLock 2025-02-28 16:32:12 +01:00
Alix ANNERAUD
a7ecf14259 Add blocking read-write lock implementation and remove obsolete tests 2025-02-28 16:28:10 +01:00
Alix ANNERAUD
114cfdd86b Add RawRwLock trait and RawRwLockImpl struct implementation
* Implement `RawRwLock` trait with methods for read and write locking
* Implement `RawRwLockImpl` struct with atomic state and waker
* Implement `RawRwLockImpl::lock_read`, `RawRwLockImpl::try_lock_read`, and `RawRwLockImpl::unlock_read` methods
* Implement `RawRwLockImpl::lock_write`, `RawRwLockImpl::try_lock_write`, and `RawRwLockImpl::unlock_write` methods
2025-02-28 16:22:16 +01:00
Alix ANNERAUD
6904b0cc64 2025-02-28 16:10:15 +01:00
Alix ANNERAUD
025d9f6e98 Add RwLock to embassy-sync
Fixes #1394

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/embassy-rs/embassy/issues/1394?shareId=XXXX-XXXX-XXXX-XXXX).
2025-02-28 15:52:07 +01:00
Hendrik v. Raven
4c01f033ea
stm32: do not use private constructor 2025-02-28 09:06:18 +01:00
Rogan Morrow
db44679e75 fix 2025-02-28 12:50:15 +11:00
Rogan Morrow
5512e3a540 fix 2025-02-28 12:49:28 +11:00
Rogan Morrow
32f6f1513d add missing module 2025-02-28 12:41:44 +11:00
Rogan Morrow
2cc21d4883 feature flag 2025-02-28 12:40:01 +11:00
Rogan Morrow
065071b467 add separate tx waker 2025-02-28 12:30:23 +11:00
Rogan Morrow
3b37c79331 only clear idle flag 2025-02-28 12:28:57 +11:00
Aaron Griffith
03f73ce339 stm32/i2c: disable peripheral when changing timings 2025-02-27 06:50:01 -05:00
Dario Nieuwenhuis
17301c00e9
Merge pull request #3925 from gmarino2048/gmarino/core-error
Implement `core::error::Error` for STM32 Serial Devices
2025-02-26 22:17:20 +00:00
Guy Marino
27709df94a
Implement core::error::Error for STM32 Serial Devices 2025-02-26 14:14:16 -08:00
antonello.contini
0c1601651b cargo fmt 2025-02-25 22:02:23 +01:00
antonello.contini
724e1a34e5 simpler configuration 2025-02-25 21:37:01 +01:00
antonello.contini
51085a5e94 let user set external i2s clock frequency 2025-02-25 21:21:23 +01:00
antonello.contini
f1c7e388e6 do not use pllsrc for i2s; added field for plli2ssrc selection 2025-02-25 19:59:57 +01:00
Dario Nieuwenhuis
00ef474b94
Merge pull request #3915 from embedded-rust-iml/fix/BufferedUartRx-nb-read
fix: BufferedUartRx embedded_hal_nb::serial::Read impl
2025-02-24 14:34:13 +00:00
Maximilian Rozwora
519bd86467 fix: Check buffer full before pop_done() 2025-02-24 15:11:14 +01:00
Maximilian Rozwora
c52f56785f Apply cargo format 2025-02-24 14:48:32 +01:00
Maximilian Rozwora
76756ee702 fix: BufferedUartRx embedded_hal_nb::serial::Read impl 2025-02-24 14:34:41 +01:00
Dario Nieuwenhuis
6b04942ab7
Merge pull request #3911 from 0e4ef622/nrf5340-lfclk
nrf5340: configure LFCLK
2025-02-23 21:26:35 +00:00
Dario Nieuwenhuis
29af39c233
Merge pull request #3913 from U007D/rpi-pico-2-w
Add blinky example for RPi Pico 2W board
2025-02-23 22:25:46 +01:00
Curly
9d92d03c82
rename Pimoroni Pico Plus 2 example to group alphabetically with other blinky projects 2025-02-23 07:39:25 -08:00
Curly
2d0e0f51f8
add rp235x blinky_wifi.rs` to support RPi Pico 2 W 2025-02-23 07:37:34 -08:00
Curly
3932835998
rename rp23 (?) folder to rp235x; fix ci.sh to use rp235x folder 2025-02-23 07:33:58 -08:00