10310 Commits

Author SHA1 Message Date
Thomas Giesel
cbf61765f1 Generate pins for new opamp pin naming scheme
The new code implements the corresponding traits for the
common opamp pin naming scheme of all families, which
is VINPx/VINMx.

The same pin must not be used for multiple channels for the
same opamp. For example, if VINM0 and VINM1 of the same opamp
were assigned to the same pin, the channel would not be unique,
meaning that the traits would be implemented in a conflicting
manner.
2025-06-25 08:27:44 +02:00
Ulf Lilleengen
206a324cf4
Merge pull request #4320 from wmmc88/fix-sync-bounds
Fix sync bounds on LazyLock and OnceLock
2025-06-19 06:03:12 +00:00
Melvin Wang
e19c3a0204 disable ui tests in miri 2025-06-18 16:20:50 -07:00
Melvin Wang
3a43292097 commit expected errors 2025-06-18 16:16:12 -07:00
Melvin Wang
051c63fea2 fix missing sync bounds 2025-06-18 15:38:57 -07:00
Melvin Wang
905aed45f9 add tests illustrating the problem 2025-06-18 15:37:05 -07:00
Dario Nieuwenhuis
dda17cc7cb
Merge pull request #4309 from bugadani/futures
Remove futures-util where unnecessary
2025-06-16 12:38:47 +00:00
Dániel Buga
a0d17ea5ca
Remove futures-util where unnecessary 2025-06-16 13:57:19 +02:00
Ulf Lilleengen
56572ef0ad
Merge pull request #2909 from jrmoulton/i2c-slave-new
stm32 i2c slave
2025-06-11 05:09:08 +00:00
jrmoulton
4efb3b4f3f
fix ci 2025-06-10 16:01:50 -06:00
jrmoulton
fb71139522
fix name change 2025-06-10 15:53:06 -06:00
jrmoulton
3b2dd2bad8
fmt 2025-06-10 15:53:02 -06:00
jrmoulton
cfad9798ff
merge new embassy changes 2025-06-10 15:48:36 -06:00
Ulf Lilleengen
6186d111a5
Merge pull request #4287 from dlaw/main
Add public function to get current clock configuration
2025-06-06 20:50:36 +00:00
David Lawrence
c10688cd40 Add public function to get current clock configuration 2025-06-06 13:05:35 -04:00
Dario Nieuwenhuis
141c170db4
Merge pull request #4277 from diondokter/fix-usb-race
STM32 USB: Read data before register update
2025-06-03 14:14:45 +00:00
Dion Dokter
9b3b6c5421 STM32 USB: Read data before register update 2025-06-03 16:08:55 +02:00
Dario Nieuwenhuis
1cfe047125
Merge pull request #4276 from snakehand/main
Use modify() for subsequent changes to RCC.cr()
2025-06-03 14:03:23 +00:00
Frank Stevenson
011d7832f8 Use modify() for subsequent changes to RCC.cr() 2025-06-03 15:47:33 +02:00
Dario Nieuwenhuis
c637ee7d79
Merge pull request #4271 from cschuhen/fdcan_critical_section
Use a critical section mutex in CAN Fdcan driver.
embassy-usb-dfu-v0.1.0
2025-06-01 12:37:12 +00:00
Dario Nieuwenhuis
d23d5d6a4c
Merge pull request #4224 from felipebalbi/button
imxrt: add button example
2025-06-01 12:20:01 +00:00
Dario Nieuwenhuis
f3983328e0
Merge pull request #4231 from ROMemories/feat/stm32-rcc-const-constructors
feat(stm32): provide a `const` constructor on `rcc::Config`
2025-06-01 12:19:39 +00:00
Dario Nieuwenhuis
a636ec439e
Merge pull request #4237 from felipebalbi/rp-invert-gpio
embassy-rp: implement input/output inversion
2025-06-01 12:17:40 +00:00
Dario Nieuwenhuis
ad5a14fe85
Merge pull request #4244 from janderholm/master
executor: Make state implementations and their conditions match
2025-06-01 12:16:50 +00:00
Dario Nieuwenhuis
fc4139146f
Merge pull request #4251 from kpfleming/improve-stm32-ringbuffereduart-docs
stm32: Expand documentation of RingBufferedUartRx.
2025-06-01 12:15:19 +00:00
Ulf Lilleengen
a2fdce88bd
Merge pull request #4273 from 9names/embassy_boot_doc
doc: add high-level embassy-boot a-b info
2025-05-31 16:57:09 +00:00
9names
69abc42077 doc: add high-level embassy-boot a-b info 2025-06-01 00:08:09 +10:00
Corey Schuhen
010744802f Remove duplicate calc_timestamp and move to 'Registers' struct. 2025-05-31 09:09:12 +10:00
Corey Schuhen
f5658d6833 Put State inside a critical section mutex of RefCell. This removes the unsound code that was giving out mut&. to State 2025-05-31 08:20:03 +10:00
Corey Schuhen
eba9ddc805 Switch to SendDynamicSender for FDCAN. 2025-05-31 08:20:03 +10:00
Dario Nieuwenhuis
9b8d6d6f22
Merge pull request #4267 from melvdlin/stm32-qspi-from
convert embassy-stm32::qspi::enums `Into` impls into equivalant `From` impls
2025-05-30 11:15:54 +00:00
Dario Nieuwenhuis
675dd81a0f
Merge pull request #4268 from Willdew/stm32-fix-ringbuffered-adc-set-sq
[embassy-stm32] Fixed runtime assertion failure on more the 6 ringbuffered ADC channels
2025-05-30 11:12:50 +00:00
melvdl
86efdc9cc3 convert embassy-stm32::qspi::enums Into impls into equivalant From impls 2025-05-30 00:30:27 +02:00
Willdew
3d617007a2 fixed n in set_sq to be indexed correctly 2025-05-29 23:06:01 +02:00
Ulf Lilleengen
b024d5e892
Merge pull request #4265 from cschuhen/rename-send-dynamic-receiver
Rename SendableDynamicReceiver to SendDynamicReceiver
2025-05-29 05:11:16 +00:00
Corey Schuhen
5730b57094 Rename SendableDynamicReceiver to SendDynamicReceiver 2025-05-29 08:30:21 +10:00
Ulf Lilleengen
4766cc6f97
Merge pull request #3957 from us-irs/add-cortex-ar-support
Add support for Cortex-A/R
2025-05-28 15:27:27 +00:00
Robin Mueller
5a07ea5d85 Add support for Cortex-A/R 2025-05-28 17:00:42 +02:00
Ulf Lilleengen
f35aa4005a
Merge pull request #4264 from embassy-rs/update-esync-changelog
docs: update changelog for embassy-sync
embassy-sync-v0.7.0 embassy-boot-stm32-v0.3.0
2025-05-28 11:21:40 +00:00
Ulf Lilleengen
dfd2d31819 docs: update changelog for embassy-sync 2025-05-28 13:05:38 +02:00
Ulf Lilleengen
62cf9d592b
Merge pull request #4262 from cschuhen/send_on_dynamic_channel
Enable Sync and Send for DynamicSender and DynamicReceiver.
2025-05-28 10:43:33 +00:00
Corey Schuhen
277f6f7331 Make Sync capable versions of DynamicSender and DynamicReceiver.
DynamicSender and DynamicReceiver, just seem to be a fat pointer to a
Channel which is already protected by it's own Mutex already. In fact,
you can share the Channel already betwen threads and create Dynamic*er's
in the target threads. It should be safe to share the Dynamic*er's
directly. Can only be used when Mutex M of channel supoorts Sync.
2025-05-28 20:29:08 +10:00
Ulf Lilleengen
58db2f7d94
Merge pull request #4263 from embassy-rs/channel-peek
feat: add support for channel peek
2025-05-28 12:26:06 +02:00
Ulf Lilleengen
042abc805a feat: add support for channel peek
Add support for peeking into the front of the channel if the value
implements Clone. This can be useful in single-receiver situations where
you don't want to remove the item from the queue until you've
successfully processed it.
2025-05-28 11:34:57 +02:00
Dario Nieuwenhuis
645883d874
Merge pull request #4223 from embedded-rust-iml/feature/drop-impl-for-stm32-fdcan
Cleanup Pins and RCC for FDCAN on STM32
2025-05-27 17:44:11 +00:00
Dario Nieuwenhuis
aab043b0f3
Merge pull request #4252 from kpfleming/assert-empty-buffer-buffereduart
stm32: Assert in BufferedUart that the buffers are not empty.
2025-05-27 15:17:29 +00:00
Ulf Lilleengen
1d8e4fd970
Merge pull request #4245 from bobsrac/feature/examples_nrf52840_ieee802154
nrf52840: example ieee 802.15.4 packet send/receive
2025-05-27 07:11:34 +00:00
bobsrac
f761e4b97b nrf52840: example ieee 802.15.4 packet send/receive 2025-05-27 00:46:44 -06:00
Ulf Lilleengen
5f3204f9c3
Merge pull request #4232 from RaulIQ/main
[embassy-stm32] add PWM multi channel waveform generation using DMA burst mode
2025-05-27 06:25:33 +00:00
Ulf Lilleengen
f73a390bc8
Merge pull request #4236 from MatrixSenpai/ws2812-rgbw-pio
Support RGBW on PioWs2812
2025-05-27 06:24:03 +00:00