MSC Support for STM32 + SDIO boards -> SKR 2 (#22354)

This commit is contained in:
Victor Oliveira
2021-07-14 02:34:18 -03:00
committed by Scott Lahteine
parent 8cf15e8546
commit 8334e92b6f
6 changed files with 276 additions and 281 deletions

View File

@ -184,6 +184,10 @@ bool SDIO_WriteBlock(uint32_t blockAddress, const uint8_t *data) {
inline uint32_t SDIO_GetCardState() { return SDIO_CmdSendStatus(SdCard.RelCardAdd << 16U) ? (SDIO_GetResponse(SDIO_RESP1) >> 9U) & 0x0FU : SDIO_CARD_ERROR; }
// No F1 board with SDIO + MSC using Maple, that I aware of...
bool SDIO_IsReady() { return true; }
uint32_t SDIO_GetCardSize() { return 0; }
// ------------------------
// SD Commands and Responses
// ------------------------