Dario Nieuwenhuis
5b632e3d03
Merge pull request #4044 from yodaldevoid/stm32-opm-timer
...
STM32: One pulse mode timer
2025-04-06 22:09:45 +02:00
Dario Nieuwenhuis
f448cfb1df
Merge pull request #4048 from ariel-os/embassy-time-no-std-critical-section
...
embassy-time: don't select `critical-section` impl for std
2025-04-06 22:07:20 +02:00
Dario Nieuwenhuis
f9c66c5ad0
Merge pull request #4051 from akeamc/embassy-executor-critical-section-no-std
...
embassy-executor: Don't enable critical-section/std for `arch-std`
2025-04-06 22:06:53 +02:00
Åke Amcoff
ac4f4ee807
disable critical-section/std for arch-std in embassy-executor
2025-04-05 18:36:04 +02:00
Ulf Lilleengen
b1179c5090
Merge pull request #3983 from mgomez0/topic/buffered-uart-take-pins-before-interrupts
...
BufferedUart initialization
2025-04-05 05:36:27 +00:00
Michael Gomez
f1feedf190
BufferedUart initialization
...
This change modifies UART initialization throughout Embassy to take pins
before interrupts.
Related to #1304 .
2025-04-04 21:54:36 -07:00
Kaspar Schleiser
e1e7a5ddb5
embassy-time: don't select critical-section impl for std
2025-04-04 22:07:02 +02:00
Gabriel Smith
f8e5c90266
stm32/timer: Support one pulse mode
...
Currently does not support output pins so it really is only useful to
create delayed interrupts based on external signals.
2025-04-04 17:40:22 +00:00
Gabriel Smith
eee2d8c84d
stm32/timer: Merge channel typestate structs
2025-04-04 17:40:15 +00:00
James Munns
61b7762421
Merge pull request #4043 from embassy-rs/james/wake-race
...
embassy-rp: defensive change to ensure wakers are registered
2025-04-04 11:45:13 +00:00
James Munns
72832c1550
embassy-rp: defensive change to ensure wakers are registered
...
This change ensures that wakers are registered PRIOR to checking status
in i2c `wait_on` helpers.
2025-04-03 19:01:00 +02:00
James Munns
99536219a3
Merge pull request #4040 from jamesmunns/james/fix-doc-links
...
[embassy-executor]: Fix some intra-doc links
2025-04-03 08:44:20 +00:00
James Munns
b7e1b1ca94
Fix some intra-doc links
2025-04-03 10:35:00 +02:00
i509VCB
45c4f0cb05
Merge pull request #4022 from i509VCB/mspm0-uart
...
mspm0: blocking uart driver
2025-04-03 04:46:36 +00:00
i509VCB
a10de5f408
Merge pull request #4037 from optlink/mspm0-pf
...
mspm0: Fix `set_pf_unchecked()` assertion
2025-04-03 04:00:37 +00:00
Kelsey Maes
03061a0817
mspm0: Fix set_pf_unchecked() assertion
2025-04-02 08:33:12 -07:00
Dario Nieuwenhuis
a137a16067
Merge pull request #4033 from jamesmunns/james/upstream-trace
...
[embassy-executor] Add two new `trace` hooks, improve docs
2025-04-02 00:34:05 +00:00
Dario Nieuwenhuis
3bc809eb3e
Merge pull request #4036 from Fredrik-Reinholdsen/main
...
fix: Fix for #3888 async I2C read bug for introduced in #3887
2025-04-01 20:55:27 +00:00
Fredrik Reinholdsen
47869d122a
fix: Fix for #3888 async I2C read bug for introduced in #3887 in STM32 I2C v2 driver
...
In fixing a different timing related bug, #3887 , a new bug was introduced causing I2C reads longer than 255 bytes to timeout for some I2C devices, #3888 .
The issue was caused by incorrect branch order, and poll function being called unnecessarily.
Async I2C read poll function now only looks for I2C transfer complete reload (TCR) interrupts, intead of TCR and transfer complete (TC) interrupts,
since TC interrupts are not raised when AUTOEND bit is set.
2025-04-01 21:28:07 +02:00
James Munns
ef3c1b87d1
Minor docs improvements
2025-04-01 14:35:21 +02:00
James Munns
2e474b7df2
Remove notes about stability
2025-04-01 14:30:36 +02:00
James Munns
3e25a7be86
Small grammar fixes
2025-04-01 14:27:32 +02:00
James Munns
c3efb85b85
Fix task_end callback
2025-04-01 14:23:39 +02:00
James Munns
8a8e450053
Reorder doc comments for format reasons
2025-04-01 14:12:58 +02:00
James Munns
84cd416bed
Finish trailing sentence
2025-04-01 14:11:42 +02:00
James Munns
882e2180a4
Add docs, add task_end trace point
2025-04-01 14:06:04 +02:00
Dario Nieuwenhuis
a44abaf7e4
Merge pull request #3989 from embedded-rust-iml/fix/ringbuffered-error-handling
...
Rework status handling (idle and errors) in ringbuffered uart
2025-03-31 15:09:01 +00:00
Tobias Naumann
c29fc3532b
Merge branch 'main' into fix/ringbuffered-error-handling to resolve merge conflicts
2025-03-31 16:48:13 +02:00
Dario Nieuwenhuis
4d9b41714d
Merge pull request #4026 from cyril-marpaud/patch-3
...
docs: fix a typo
2025-03-31 11:13:30 +00:00
Cyril Marpaud
f396579dff
docs: fix a typo
2025-03-31 13:07:03 +02:00
Ulf Lilleengen
154870b2c3
Merge pull request #3978 from avsaase/blocking-mutex-lock-mut
...
embassy-sync: add `lock_mut` to `blocking_mutex::Mutex`
2025-03-31 07:34:11 +00:00
Ulf Lilleengen
aadd4e5513
Merge pull request #3968 from embedded-rust-iml/feature/ringbuffered-embedded-hal-nb
...
Add embedded_hal_nb::serial::Read impl for RingBufferedUartRx
2025-03-31 07:05:19 +00:00
Dario Nieuwenhuis
553f8924cc
Merge pull request #4024 from elagil/g4_adc_cal
...
Fix STM32G4 ADC calibration stability
2025-03-30 23:15:23 +02:00
Dario Nieuwenhuis
7479a5f7b7
Merge pull request #4023 from 0e4ef622/better-errors
...
Fix ugly compiler error from task macro
2025-03-30 23:15:02 +02:00
elagil
ca8be1c976
fix: stm32g4 calibration delays
2025-03-29 22:01:54 +01:00
Dario Nieuwenhuis
cae954a87e
Merge pull request #4021 from CBJamo/rp23-watchdog-fix
...
RP235x watchdog doesn't have the double count bug
2025-03-29 15:19:44 +00:00
Matthew Tran
034e9fc218
Move macro helper functions to embassy-executor
2025-03-29 03:52:00 -05:00
Matthew Tran
35b353ab94
Fix ugly compiler errors
2025-03-29 02:46:32 -05:00
Matthew Tran
c72e2c5d10
Add test
2025-03-29 02:46:32 -05:00
i509VCB
91cde689cc
mspm0: blocking uart driver
2025-03-29 00:21:29 -05:00
Caleb Jamison
49badcff1a
RP235x watchdog doesn't have the double count bug
2025-03-28 17:45:41 -04:00
Dario Nieuwenhuis
954d1554d4
Merge pull request #4020 from embassy-rs/stable-static-taskpool-v2
...
Statically allocate task pools on stable Rust.
2025-03-28 20:07:00 +01:00
Dario Nieuwenhuis
695a6da322
Statically allocate task pools on stable Rust.
...
Thanks @0e4ef622 for the awesome idea of how to do it and the first implementation.
Co-Authored-By: Matthew Tran <0e4ef622@gmail.com>
2025-03-28 19:11:53 +01:00
Dario Nieuwenhuis
3a3ab6cded
Merge pull request #3928 from agrif/stm32-i2c-set-config
...
Fix SetConfig implementation for STM32 I2C v2
2025-03-28 15:17:21 +00:00
Dario Nieuwenhuis
bda7ba7b14
Merge pull request #4019 from techmccat/main
...
stm32: allow using LSI/LSE as SYSCLK on g0/c0
2025-03-28 12:20:24 +00:00
techmccat
ce578b62b8
stm32: run cargo fmt
2025-03-28 10:45:14 +01:00
techmccat
0621087f6f
stm32: allow using LSI/LSE as SYSCLK on g0/c0
2025-03-28 10:35:05 +01:00
Dario Nieuwenhuis
502c188cf4
Merge pull request #3999 from embassy-rs/peripehral-v2
...
Remove Peripheral trait, rename PeripheralRef->Peri.
2025-03-27 15:30:40 +01:00
Dario Nieuwenhuis
d41eeeae79
Remove Peripheral trait, rename PeripheralRef->Peri.
2025-03-27 15:18:06 +01:00
Dario Nieuwenhuis
d097ccc68c
Merge pull request #4012 from adom-inc/rp2350-adc-fix
...
rp/adc: fix potential race condition
2025-03-27 13:36:46 +00:00