1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00
Commit graph

10 commits

Author SHA1 Message Date
Jay Blackman
908a347d2f
Refactor SPI pre init to make it generic and usable from io.h (#14174) 2025-01-24 08:17:28 +11:00
Steve Evans
b5ab83b3bc
AT32 SD card support (#14070) 2024-12-08 07:52:58 +11:00
Steve Evans
87c8847c13 New SPI API supporting DMA
Call targetConfiguration() once before config is loaded and again afterwards in case the config needs to be changed to load from SD card etc

Drop SPI clock during binding

Remove debug

Add per device SPI DMA enable

Fix sdioPinConfigure() declaration warning

Reduce clock speed during SPI RX initialisation
2021-07-25 12:40:25 +12:00
mikeller
da93c07432 Refactored SD card initialisation to contain SD card detection initialisation. 2019-07-14 17:09:35 +12:00
Dominic Clifton
8d78e15a4b Fix use of sdcard.cardDetectPin before it is initialised.
* de-duplicate some SDIO/SPI sd-card detection code.
* ensure detectionInverted is set to false for SDIO case where
`cardDetectTag` is not configured.
2019-07-10 17:09:03 +02:00
jflyper
fe182bb2fb Introduce dma_reqmap 2018-12-30 09:40:37 +09:00
jflyper
9ea1428d11 Introduce per device pin pre-init 2018-12-13 11:15:26 +09:00
jflyper
6307277d50 Refactor sdcard_spi.c to use busDevice_t (again) 2018-10-04 18:36:05 +09:00
jflyper
a1589766a2 Switch between SPI and SDIO based on mode 2018-10-03 21:14:07 +09:00
jflyper
00840ce40f Prepare SD card SPI and SDIO variants for consolidation 2018-10-01 19:44:04 +09:00