aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/sdc_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-29 09:09:22 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-29 09:09:22 +0000
commit88e92b3fc3a14ec04780815b1061e680dfbb9777 (patch)
tree704bdc914abd1b403f0ea97ddb0e535552eea0ad /os/hal/platforms/STM32/sdc_lld.h
parenta3239bf257f320ba2d85da27b23f16d058efbb96 (diff)
downloadChibiOS-88e92b3fc3a14ec04780815b1061e680dfbb9777.tar.gz
ChibiOS-88e92b3fc3a14ec04780815b1061e680dfbb9777.tar.bz2
ChibiOS-88e92b3fc3a14ec04780815b1061e680dfbb9777.zip
Improvements to the STM32 SDC driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3001 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/sdc_lld.h')
-rw-r--r--os/hal/platforms/STM32/sdc_lld.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/sdc_lld.h b/os/hal/platforms/STM32/sdc_lld.h
index 4263e5d6d..c0d1b8bdd 100644
--- a/os/hal/platforms/STM32/sdc_lld.h
+++ b/os/hal/platforms/STM32/sdc_lld.h
@@ -61,6 +61,13 @@
#define STM32_SDC_SDIO_IRQ_PRIORITY 9
#endif
+/**
+ * @brief SDIO support for unaligned transfers.
+ */
+#if !defined(STM32_SDC_UNALIGNED_SUPPORT) || defined(__DOXYGEN__)
+#define STM32_SDC_UNALIGNED_SUPPORT TRUE
+#endif
+
/*===========================================================================*/
/* Derived constants and error checks. */
/*===========================================================================*/