[rtems commit] bsps/stm32h7: Add init for sdmmc pins
Karel Gardas
karel at rtems.org
Mon Jul 31 16:11:50 UTC 2023
Module: rtems
Branch: master
Commit: 1e99148578f8a2f79ee087ce93a656a37abd3104
Changeset: http://git.rtems.org/rtems/commit/?id=1e99148578f8a2f79ee087ce93a656a37abd3104
Author: Karel Gardas <karel at functional.vision>
Date: Wed Jul 19 18:47:23 2023 +0200
bsps/stm32h7: Add init for sdmmc pins
Re-apply based on:
commit 8fd29cfbc5c911c46f065e36389c3d246aa97854
Author: Christian Mauderer <christian.mauderer at embedded-brains.de>
Date: Tue Mar 2 16:14:41 2021 +0100
stm32h7: Add init for sdmmc pins
Update #4372
---
bsps/arm/stm32h7/hal/stm32h7xx_hal_sd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bsps/arm/stm32h7/hal/stm32h7xx_hal_sd.c b/bsps/arm/stm32h7/hal/stm32h7xx_hal_sd.c
index 704d1bafc7..966540edc8 100644
--- a/bsps/arm/stm32h7/hal/stm32h7xx_hal_sd.c
+++ b/bsps/arm/stm32h7/hal/stm32h7xx_hal_sd.c
@@ -608,6 +608,7 @@ HAL_StatusTypeDef HAL_SD_DeInit(SD_HandleTypeDef *hsd)
}
+#ifndef __rtems__
/**
* @brief Initializes the SD MSP.
* @param hsd: Pointer to SD handle
@@ -622,6 +623,7 @@ __weak void HAL_SD_MspInit(SD_HandleTypeDef *hsd)
the HAL_SD_MspInit could be implemented in the user file
*/
}
+#endif /* __rtems__ */
/**
* @brief De-Initialize SD MSP.
More information about the vc
mailing list