Oliver
eb83d049c7
stm32/sdmmc: add support for multiple block reads and writes.
2025-04-18 14:21:29 +02:00
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
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
280d21a6b4
update sdio-host to 0.6
2025-03-31 12:47:41 -07:00
Dario Nieuwenhuis
d41eeeae79
Remove Peripheral trait, rename PeripheralRef->Peri.
2025-03-27 15:18:06 +01:00
Dario Nieuwenhuis
9a0afa7bf4
stm32/sdmmc: remove DMA generic param.
2025-03-25 21:43:47 +01:00
Ronald Weber
7a2f038800
doc: Fix "the the"
2025-02-19 17:29:21 +01:00
Scott Mabin
f0a8607051
Add block-device-driver impl for use with embedded-fatfs ( #2607 )
2024-08-26 20:45:57 +02:00
David Haig
e7270e00f6
Added set_cmd_block for dma memory compatibility
2024-07-19 02:03:53 +01:00
David Haig
32019ed9b7
Allow cmd buffer to be passed in for dma memory
2024-07-17 17:12:37 +01:00
Jan Špaček
94007ce6e0
stm32/gpio: refactor AfType
2024-06-16 21:11:55 +02:00
Jan Špaček
081afca3f0
stm32/rcc: replace generated enable/disable code with runtime info
2024-05-25 18:44:55 +02:00
Dario Nieuwenhuis
2bca875b5f
stm32: use private_bounds for sealed traits.
2024-03-23 01:38:51 +01:00
Dario Nieuwenhuis
eca9aac194
Fix warnings in recent nightly.
2024-03-20 16:39:09 +01:00
Caleb Garrett
4a5b6e05fb
Correct more CI build issues.
2024-03-10 17:33:40 -04:00
Caleb Garrett
e92094986d
Add DMA request priority as transfer option.
2024-03-10 16:53:37 -04:00
Dario Nieuwenhuis
e67dfcb04f
stm32/dma: add AnyChannel, add support for BDMA on H7.
2024-02-24 02:41:41 +01:00
Dario Nieuwenhuis
9866847375
stm32: autogenerate clocks struct, enable mux for all chips.
2024-02-02 23:24:34 +01:00
Ulf Lilleengen
1c3cf347cb
remove embedded-sdmmc
...
Remove support for embedded-sdmmc due to lack of maintainership. Bring
it back once the upstream includes the async functionality.
2023-12-20 13:25:36 +01:00
Dario Nieuwenhuis
c8c8b89104
stm32: doc everything else.
2023-12-19 18:03:20 +01:00
Dario Nieuwenhuis
1ea87ec6e7
stm32: document hrtim, qspi, sdmmc, spi.
2023-12-19 16:21:51 +01:00
Dario Nieuwenhuis
49534cd405
stm32: more docs.
2023-12-19 00:10:36 +01:00
Dario Nieuwenhuis
6bdacb4f69
stm32/sdmmc: use unwrap to ensure panics get printed to defmt.
2023-11-27 00:35:41 +01:00
xoviat
0fb677aad7
stm32: update metapac
2023-10-20 20:21:53 -05:00
xoviat
1fc35c753b
rcc: update pll clock naming
2023-10-15 15:10:42 -05:00
pbert
ecdd7c0e2f
enable clock first
2023-10-12 11:04:44 +02:00
pbert
f65a96c541
STM32: combine RccPeripherals reset() and enable() to reset_and_enable()
2023-10-12 11:04:19 +02:00
Scott Mabin
268da2fcde
Handle stbiterr in 4bit wide mode for sdmmc_v1
2023-09-10 20:27:38 +01:00
Dario Nieuwenhuis
036e6ae30c
Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. ( #1700 )
2023-07-28 13:23:22 +02:00
JuliDi
8e230bf6ec
add missing TransferOptions fields for DMA
2023-07-22 21:36:03 +02:00
JuliDi
60c54107ce
fix sdmmc bdma transferconfig fields
2023-06-27 21:58:56 +02:00
Dario Nieuwenhuis
558918651e
stm32: update stm32-metapac.
2023-06-19 03:22:12 +02:00
Dario Nieuwenhuis
921780e6bf
Make interrupt module more standard.
...
- Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`.
- Reexport the PAC interrupt enum in `embassy_xx::interrupt`.
This has a few advantages:
- The `embassy_xx::interrupt` module is now more "standard".
- It works with `cortex-m` functions for manipulating interrupts, for example.
- It works with RTIC.
- the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs.
- When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`.
2023-06-08 18:00:48 +02:00
Dario Nieuwenhuis
404aa29289
cortex-m: remove owned interrupts.
2023-06-01 03:25:19 +02:00
xoviat
316be179af
stm32: move to bind_interrupts
...
disable lora functionality for now
2023-05-24 17:29:56 -05:00
Dario Nieuwenhuis
8b9306ed5c
stm32/sdmmc: fix "drop with a value that implements Copy does nothing" warning.
2023-05-19 18:00:33 +02:00
Dario Nieuwenhuis
173c65b543
stm32/dma: refactor.
2023-04-18 16:37:35 +02:00
Dario Nieuwenhuis
0dfa192992
stm32/sdmmc: remove "inner" layer.
2023-04-17 19:23:18 +02:00
Dario Nieuwenhuis
e14fa11fc3
stm32/sdmmc: remove unneeded pointer casts.
2023-04-17 17:52:02 +02:00
Dario Nieuwenhuis
df7ef1d98f
stm32/sdmmc: remove cfg_if.
2023-04-17 17:52:02 +02:00
Dario Nieuwenhuis
224eaaf797
stm32/sdmmc: switch to AFIT.
2023-04-15 00:58:58 +02:00
chemicstry
73ef85b765
stm32/sdmmc: Fix compile errors
2023-02-23 18:00:55 +02:00
chemicstry
896764bb85
stm32/sdmmc: Refactor TypeId into a macro
2023-02-23 17:38:52 +02:00
chemicstry
42462681bd
stm32/sdmmc: Implement proper clock configuration
2023-02-23 16:57:21 +02:00
chemicstry
a53f525f51
stm32/sdmmc: Fix SDIOv1 writes
2023-02-18 01:37:06 +02:00
Dario Nieuwenhuis
0412d1922c
fix embedded-sdmmc integration.
...
- Rename feature to `embedded-sdmmc`.
- Move embedded-sdmmc fork repo to the embassy-rs org.
- Remove unused features in the fork
- Fix impl in embassy-stm32
- Add to CI so it doesn't break again.
2023-01-21 00:32:34 +01:00