• R/O
  • SSH
  • HTTPS

chibios: Commit


Commit MetaInfo

Revision13886 (tree)
Time2020-10-13 17:46:28
Authorgdisirio

Log Message

Fixed bug #1127.

Change Summary

Incremental Difference

--- trunk/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h (revision 13885)
+++ trunk/os/hal/ports/STM32/STM32H7xx/stm32_rcc.h (revision 13886)
@@ -1013,7 +1013,7 @@
10131013 *
10141014 * @api
10151015 */
1016-#define rccEnableSDMMC2(lp) rccEnableAHB3(RCC_AHB3ENR_SDMMC2EN, lp)
1016+#define rccEnableSDMMC2(lp) rccEnableAHB2(RCC_AHB2ENR_SDMMC2EN, lp)
10171017
10181018 /**
10191019 * @brief Disables the SDMMC2 peripheral clock.
@@ -1020,7 +1020,7 @@
10201020 *
10211021 * @api
10221022 */
1023-#define rccDisableSDMMC2() rccDisableAHB3(RCC_AHB3ENR_SDMMC2EN)
1023+#define rccDisableSDMMC2() rccDisableAHB2(RCC_AHB2ENR_SDMMC2EN)
10241024
10251025 /**
10261026 * @brief Resets the SDMMC2 peripheral.
@@ -1027,7 +1027,7 @@
10271027 *
10281028 * @api
10291029 */
1030-#define rccResetSDMMC2() rccResetAHB3(RCC_AHB3RSTR_SDMMC2RST)
1030+#define rccResetSDMMC2() rccResetAHB2(RCC_AHB2RSTR_SDMMC2RST)
10311031 /** @} */
10321032
10331033 /**
--- trunk/readme.txt (revision 13885)
+++ trunk/readme.txt (revision 13886)
@@ -120,6 +120,8 @@
120120 MEMS Accelerometers.
121121 - NEW: Safer messages mechanism for sandboxes (to be backported to 20.3.1).
122122 - NEW: Added latency measurement test application.
123+- FIX: Fixed wrong SDMMC RCC macros for STM32H7xx (bug #1127)
124+ (backported to 20.3.3)(backported to 19.1.5).
123125 - FIX: Fixed STM32 ADCv3 hangin on initialization (bug #1126)
124126 (backported to 20.3.3)(backported to 19.1.5).
125127 - FIX: Fixed I2S-related problems in STM32F4xx registry (bug #1124)
Show on old repository browser