9775 Commits

Author SHA1 Message Date
Dániel Buga
aa5ecbdb56
Remove task arena FAQ 2025-03-31 13:16:11 +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
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
Dario Nieuwenhuis
8186847801
Merge pull request #4014 from adom-inc/rp-bootram-typo
rp: rename BOOTROM_BASE to BOOTRAM_BASE
2025-03-27 13:26:22 +00:00
Adrian Wowk
5777284304 rp: rename BOOTROM_BASE to BOOTRAM_BASE
Previously the constant pointing at the base of the bootram was
incorrectly called BOOTROM_BASE. According to the datasheet, the bootrom
is a 32K region starting at 0x00000000 while the bootram is a 1K region
of SRAM starting at 0x400e0000.
2025-03-26 19:05:27 -05:00
Adrian Wowk
1b6e563260 rp/adc: fix potential race condition
This commit rearranges the Adc::wait_for_ready function to make sure
that wakers are registered before the interrupt is enabled, and keeps
enabling the interrupt until the ADC is ready
2025-03-26 17:11:27 -05:00
Ulf Lilleengen
9edf5b7f04
Merge pull request #4009 from i509VCB/mspm0-gpio-disable-event
mspm0: disable events before clearing gpio RIS
2025-03-26 07:50:13 +00:00
i509VCB
db7759ea7d
mspm0: disable events before clearing gpio ris 2025-03-25 23:55:01 -05:00
Dario Nieuwenhuis
4f250f3995
Merge pull request #4005 from embassy-rs/no-nodma
stm32: remove DMA generic params, remove NoDma.
2025-03-25 21:31:14 +00:00
Dario Nieuwenhuis
a592acb806 stm32/cryp: remove DMA generic param. 2025-03-25 22:18:21 +01:00
Dario Nieuwenhuis
db86aba841 stm32/hash: remove DMA generic param. 2025-03-25 21:57:37 +01:00
Dario Nieuwenhuis
9a0afa7bf4 stm32/sdmmc: remove DMA generic param. 2025-03-25 21:43:47 +01:00
Dario Nieuwenhuis
73ec3a7506 stm32/dac: remove DMA generic params. 2025-03-25 21:31:28 +01:00
Dario Nieuwenhuis
f007b53db3 stm32/dac: dedup pin and DMA traits, demacrofify. 2025-03-25 20:49:09 +01:00
Dario Nieuwenhuis
17cce79807
Merge pull request #3992 from elagil/usb_fixes
Small USB-related fixes
2025-03-25 11:03:53 +00:00
Dario Nieuwenhuis
9d009e59e5
Merge pull request #4000 from quarters78/main
Make CDC ACM state constructor `const`
2025-03-25 11:00:56 +00:00
Dario Nieuwenhuis
dbbdd5e388
Merge pull request #4004 from johnkjellberg/main
Clarified ADC API documentation for some STM32s.
2025-03-25 10:38:30 +00:00
John Kjellberg
3e63a2e5df Clarified ADC API documentation for some STM32s. 2025-03-25 11:10:51 +01:00
Bailey Quarters
eff9168846 Make CDC ACM state constructor const 2025-03-24 19:53:36 +01:00
elagil
15394ae5fa fix(usb): blocking wait 2025-03-24 19:49:44 +01:00
Dario Nieuwenhuis
f15a11f4d6
Merge pull request #3994 from i509VCB/mspm0-generate-singletons
mspm0: generate all singletons
2025-03-24 00:27:16 +00:00
Dario Nieuwenhuis
c9a0797797
Merge pull request #3991 from i509VCB/mspm0-remove-unimpl-features
mspm0: Remove features for which int_group is not implemented in metapac yet
2025-03-24 00:26:19 +00:00
Dario Nieuwenhuis
b7ea1dcd9d
Merge pull request #3993 from drindr/main
clean the SAADC's register while dropping
2025-03-24 00:25:56 +00:00
i509VCB
73c0bad8ad
mspm0: remove todo comment about pin names with slash
these are now gone from metapac
2025-03-22 19:27:52 -05:00
i509VCB
07da54ec18
mspm0: generate all singletons 2025-03-22 19:26:05 -05:00
drindr
816aa9a06c clean the SAADC's register while dropping 2025-03-23 00:01:01 +08:00
elagil
e34b4d69ee fix: build 2025-03-22 11:58:50 +01:00
elagil
5264d77007 fix: mute by default (UAC1) 2025-03-22 11:47:38 +01:00
elagil
07387ea405 fix: apply STM32H5 USB errata (OUT transfer delay) 2025-03-22 11:47:36 +01:00
i509VCB
46a96ff68c
mspm0: Remove features for which int_group is not implemented in metapac yet
These will be readded again when I eliminate int_group manual impls in the near future
2025-03-21 19:23:43 -05:00
Dario Nieuwenhuis
4033a619a8
Merge pull request #3990 from i509VCB/fix-doc
Add missing flavors to docs for mspm0
2025-03-21 23:42:57 +00:00
Alexander van Saase
7a031eed66 Add note about RefCell alternative 2025-03-21 23:22:21 +01:00
i509VCB
d43acbb22b
Add missing flavors to docs for mspm0 2025-03-21 15:16:27 -05:00