aboutsummaryrefslogtreecommitdiff
path: root/stm32-data
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-03-20 20:19:58 +0000
committerGitHub <[email protected]>2022-03-20 20:19:58 +0000
commit37ada65a33842f0cc19d2b13e379225c14c7600d (patch)
treed02f780eedc21ab502f060c3be4f59963fe9e19d /stm32-data
parentf0a071790d167e5627bdfae3384c1d8fe6382f34 (diff)
parenta9854924fa41991375f5e5019fb6e54fbc63370a (diff)
Merge #669
669: Add SDMMC v1 and SDIO support r=Dirbaio a=chemicstry SDMMC v2 peripheral is an extension of SDMMC v1 (or SDIO) so I managed to reuse most of the code, with some cfg's. Apart from small differeces in registers, the biggest change is that v2 uses internal DMA, while v1 has to use shared DMA peripheral. This makes code a bit uglier, because DMA channel for v1 has to be passed around. Not sure if it's possible to make it any cleaner. This also adds `TransferOptions` structure to DMA, because SDMMC v1 requires setting peripheral flow control and burst transfers. Let me know if some alternative way would be prefered. I tested this on STM32F429ZIT6 (with sd card) and STM32H745ZIT6 (with oscilloscope). Depends on: https://github.com/embassy-rs/stm32-data/pull/130 Co-authored-by: chemicstry <[email protected]>
Diffstat (limited to 'stm32-data')
m---------stm32-data0
1 files changed, 0 insertions, 0 deletions
diff --git a/stm32-data b/stm32-data
Subproject d3e8a2fe63eeb403102559f3f9917d9fcf27e1a Subproject 938770167164faa46970af4f6096ec7c8b19591