aboutsummaryrefslogtreecommitdiffstats
path: root/boards/ST_STM32F3_DISCOVERY/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'boards/ST_STM32F3_DISCOVERY/board.c')
-rw-r--r--boards/ST_STM32F3_DISCOVERY/board.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/boards/ST_STM32F3_DISCOVERY/board.c b/boards/ST_STM32F3_DISCOVERY/board.c
index ef65f94aa..3b54b4fe5 100644
--- a/boards/ST_STM32F3_DISCOVERY/board.c
+++ b/boards/ST_STM32F3_DISCOVERY/board.c
@@ -54,6 +54,28 @@ void __early_init(void) {
stm32_clock_init();
}
+#if HAL_USE_SDC || defined(__DOXYGEN__)
+/**
+ * @brief SDC card detection.
+ */
+bool_t sdc_lld_is_card_inserted(SDCDriver *sdcp) {
+
+ (void)sdcp;
+ /* TODO: Fill the implementation.*/
+ return TRUE;
+}
+
+/**
+ * @brief SDC card write protection detection.
+ */
+bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) {
+
+ (void)sdcp;
+ /* TODO: Fill the implementation.*/
+ return FALSE;
+}
+#endif /* HAL_USE_SDC */
+
#if HAL_USE_MMC_SPI || defined(__DOXYGEN__)
/**
* @brief MMC_SPI card detection.