Anton Lazarev
dc31bfd829
refactor to reduce code duplication
2025-03-31 12:47:41 -07:00
Anton Lazarev
0a231505d8
support 8 lane data bus
2025-03-31 12:47:41 -07:00
Anton Lazarev
b92eb948b5
fix d6->d7 typo from build.rs
2025-03-31 12:47:41 -07:00
Anton Lazarev
57731a7896
support eMMC
2025-03-31 12:47:41 -07:00
Anton Lazarev
5325f1d911
scaffold eMMC support
2025-03-31 12:47:41 -07:00
Anton Lazarev
14bb4ee9e4
use ready_for_data status to determine when write has finished
...
`read_sd_status` works, but it's somewhat of a hack, but also won't work
on eMMC devices. The official spec for both SD and eMMC recommends using
this method.
2025-03-31 12:47:41 -07:00
Anton Lazarev
5d01712d84
use upstream command definitions
2025-03-31 12:47:41 -07:00
Anton Lazarev
d22a7a3a96
update sdio-host to 0.9
2025-03-31 12:47:41 -07:00
Anton Lazarev
280d21a6b4
update sdio-host to 0.6
2025-03-31 12:47:41 -07: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
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
Tobias Naumann
14d079ae84
Cleanup stm32_metapac register usage in usart module
2025-03-27 12:03:52 +01:00
Tobias Naumann
9e31a45134
Fix unused imports
2025-03-27 11:58:51 +01: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