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

View File

@ -142,6 +142,7 @@
// SD support
//
#define SDIO_SUPPORT
#define SDIO_CLOCK 4800000
//
// Misc. Functions

View File

@ -156,6 +156,7 @@
// SD support
//
#define SDIO_SUPPORT
#define SDIO_CLOCK 4800000
#define SCK_PIN PC12 //confirmed working
#define MISO_PIN PC8 //confirmed working

View File

@ -127,6 +127,7 @@
//
#define SDIO_SUPPORT
#define SD_DETECT_PIN PA8
#define SDIO_CLOCK 4800000
//
// LCD / Controller