diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-10-25 13:09:23 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-10-25 13:09:23 +0000 |
commit | a5de0f57f49d16166069905927df1422e53d4c1f (patch) | |
tree | b81e0add3f45f653987643c6040c9e3dc7baa109 /boards/ST_STM32F3_DISCOVERY/board.c | |
parent | ca0b2a235d6b537896efeb11f263d7e103a92d82 (diff) | |
download | ChibiOS-a5de0f57f49d16166069905927df1422e53d4c1f.tar.gz ChibiOS-a5de0f57f49d16166069905927df1422e53d4c1f.tar.bz2 ChibiOS-a5de0f57f49d16166069905927df1422e53d4c1f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4779 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards/ST_STM32F3_DISCOVERY/board.c')
-rw-r--r-- | boards/ST_STM32F3_DISCOVERY/board.c | 22 |
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.
|