10279 Commits

Author SHA1 Message Date
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.
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
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
Ulf Lilleengen
4a63a2a16c
Merge pull request #4220 from Gerharddc/dfu-verify
[embassy-usb-dfu] support ed25519 verification
2025-05-27 06:06:46 +00:00
Ulf Lilleengen
1c9de3491d
Merge pull request #4255 from kpfleming/improve-stm32-crc-hal
stm32: Improvements to CRC HAL.
2025-05-27 05:53:07 +00:00
Kevin P. Fleming
b9f7478ada stm32: Improvements to CRC HAL.
* Corrects spelling and grammar errors in documentation.

* Removes non-v1 code from v1-only source file.

* Adds 'read' operation for v2/v3, to be consistent with v1.

* Removes 'reset' from the v2/v3 'reconfigure' operation to match the
  documentation (the only user is the 'new' function which already
  issues a reset).
2025-05-26 18:43:09 -04:00
Gerhard de Clercq
305d1f2ed0
Merge branch 'embassy-rs:main' into dfu-verify 2025-05-26 16:51:10 +02:00
ROMemories
44c53365ad fixup! feat(stm32-l): provide a const constructor on rcc::Config 2025-05-26 14:44:48 +02:00
ROMemories
a5a27ef52b fixup! feat(stm32-wba): provide a const constructor on rcc::Config 2025-05-26 14:43:46 +02:00
ROMemories
5d6b51d910 fixup! feat(stm32-l): provide a const constructor on rcc::Config 2025-05-26 14:43:39 +02:00
ROMemories
fce84bd51b fixup! feat(stm32-g4): provide a const constructor on rcc::Config 2025-05-26 14:43:29 +02:00
ROMemories
ca17b41d0d fixup! feat(stm32-g0): provide a const constructor on rcc::Config 2025-05-26 14:43:21 +02:00
ROMemories
8fa07ac062 fixup! feat(stm32-c0): provide a const constructor on rcc::Config 2025-05-26 14:43:07 +02:00
Ulf Lilleengen
e447795f76
Merge pull request #4253 from embassy-rs/bump-eboot-stm32
chore: bump version of embassy-boot-stm32
2025-05-26 12:04:36 +02:00
Ulf Lilleengen
a8b3178cee chore: bump version of embassy-boot-stm32 2025-05-26 09:11:46 +02:00
Ulf Lilleengen
63baf94074
Merge pull request #4242 from embassy-rs/temp-disable-pico
chore: temporarily disable pico tests
2025-05-26 06:47:07 +00:00
Kevin P. Fleming
a860fea0a5 stm32: Assert in BufferedUart that the buffers are not empty. 2025-05-25 08:51:27 -04:00
Kevin P. Fleming
ca5fe2645d Move new documentation to RingBufferedUartRx struct. 2025-05-24 19:34:07 -04:00
Kevin P. Fleming
2ed5e04fd0 stm32: Expand documentation of RingBufferedUartRx.
Explain to users of this driver how 'waiting for bytes' actually
works, and what that may mean for latency introduced in their
application.

Also correct references to 'start' to be 'start_uart'.
2025-05-24 16:39:25 -04:00
Johan Anderholm
0f9a7a057f executor: Make state implementations and their conditions match
Use u8 for state_atomics and state_critical_section since that
is all that is needed. Change arm condition to "32" since that is what
is used and required.
2025-05-23 18:27:14 +02:00