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

This commit is contained in:
Victor Oliveira authored and Scott Lahteine committed 2021-07-17 02:31:54 -05:00
1 parent 8cf15e8546
commit 8334e92b6f
6 files changed
+276 -281

No files matched your search

+4
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
// ------------------------