summaryrefslogtreecommitdiffstats
path: root/bsps/arm
diff options
context:
space:
mode:
authorKarel Gardas <karel@functional.vision>2023-07-19 18:47:23 +0200
committerKarel Gardas <karel@functional.vision>2023-07-31 15:15:09 +0200
commit1e99148578f8a2f79ee087ce93a656a37abd3104 (patch)
treef40c6598540d3c94ec3379e09e07fca7e1462200 /bsps/arm
parentbsp/stm32h7: Enable LL drivers (diff)
downloadrtems-1e99148578f8a2f79ee087ce93a656a37abd3104.tar.bz2
bsps/stm32h7: Add init for sdmmc pins
Re-apply based on: commit 8fd29cfbc5c911c46f065e36389c3d246aa97854 Author: Christian Mauderer <christian.mauderer@embedded-brains.de> Date: Tue Mar 2 16:14:41 2021 +0100 stm32h7: Add init for sdmmc pins Update #4372
Diffstat (limited to 'bsps/arm')
-rw-r--r--bsps/arm/stm32h7/hal/stm32h7xx_hal_sd.c2
1 files changed, 2 insertions, 0 deletions
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.