Better defaults, compatibility for SDIO + STM32 (#20570)

This commit is contained in:
Victor Oliveira
2020-12-28 02:08:06 -03:00
committed by GitHub
parent cfcfc8047a
commit 2ce9fa4b9c
6 changed files with 42 additions and 31 deletions

View File

@ -165,6 +165,8 @@
#define SPI_DEVICE 2
#define SDIO_SUPPORT
#define SDIO_CLOCK 4500000
#define SDIO_READ_RETRIES 16
#if ENABLED(SDIO_SUPPORT)
#define SCK_PIN PB13 // SPI2
#define MISO_PIN PB14 // SPI2