From c82d270d18cddcf15a0ccfcc95e861c33add8861 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 19 Dec 2009 11:10:08 +0000 Subject: LPC214x SPI driver added. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1442 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/spi_lld.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'os/hal/platforms/STM32') diff --git a/os/hal/platforms/STM32/spi_lld.h b/os/hal/platforms/STM32/spi_lld.h index 8748962f2..72349d7ea 100644 --- a/os/hal/platforms/STM32/spi_lld.h +++ b/os/hal/platforms/STM32/spi_lld.h @@ -37,6 +37,13 @@ /* Driver pre-compile time settings. */ /*===========================================================================*/ +/** + * @brief Enables the mutual exclusion APIs on the SPI bus. + */ +#if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) +#define SPI_USE_MUTUAL_EXCLUSION TRUE +#endif + /** * @brief SPI1 driver enable switch. * @details If set to @p TRUE the support for SPI1 is included. -- cgit v1.2.3