STM32H7 - SDMMC Fix the short busy loop being compiled out by newer
commit91483d2e8eef864e4d3b061decb8c4701e39fc07
authorDominic Clifton <dominic.clifton@cleanflight.com>
Thu, 27 May 2021 13:31:04 +0000 (27 15:31 +0200)
committerMichael Keller <github@ike.ch>
Thu, 9 Sep 2021 14:28:29 +0000 (10 02:28 +1200)
tree38b6d4bf9d19d9f8bf8b33ffb57e187ecb1d2b4f
parentc9d7267cf93bf1252a137e80fef72de6fe5f4c5a
STM32H7 - SDMMC Fix the short busy loop being compiled out by newer
versions of GCC.

STM32H7 - Don't go into an infinite loop if an SDIO read fails.

STM32H7 - Generate compiliation error for non-8Mhz crystals when SDCARD
via SDIO is used.  Prevents accidental overclocking of hardware.

Avoid double-init of SD card when CONFIG_IN_SDCARD is used.

Note: There's no SD_DeInit() function.

STM32H7 - Fix MSC SD initialisation when using USE_DMA_SPEC.
lib/main/STM32H7/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_sdmmc.c
src/main/drivers/sdio_f4xx.c
src/main/drivers/sdio_f7xx.c
src/main/drivers/sdio_h7xx.c
src/main/msc/usbd_storage_sdio.c
src/main/startup/system_stm32h7xx.c