HAL_ChibiOS: default SDMMC clock to 12.5MHz max on H7

this makes microsd considerably more reliable
This commit is contained in:
Andrew Tridgell 2021-05-01 13:02:18 +10:00
parent bde21ad83c
commit 8764d69e2c

View File

@ -546,3 +546,10 @@
// limit ISR count per byte
#define STM32_I2C_ISR_LIMIT 6
// limit SDMMC clock to 12.5MHz by default. This increases
// reliability
#ifndef STM32_SDC_MAX_CLOCK
#define STM32_SDC_MAX_CLOCK 12500000
#endif