From 7f125090039adbe5c28e052584c7c32684ab5ec4 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 16 Nov 2015 10:11:21 +0000 Subject: Mass update of halconf.h. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8495 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32L0xx/SPI/halconf.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'testhal/STM32/STM32L0xx/SPI/halconf.h') diff --git a/testhal/STM32/STM32L0xx/SPI/halconf.h b/testhal/STM32/STM32L0xx/SPI/halconf.h index d06919a64..a73333cec 100644 --- a/testhal/STM32/STM32L0xx/SPI/halconf.h +++ b/testhal/STM32/STM32L0xx/SPI/halconf.h @@ -329,6 +329,26 @@ #define SPI_USE_MUTUAL_EXCLUSION TRUE #endif +/*===========================================================================*/ +/* UART driver related settings. */ +/*===========================================================================*/ + +/** + * @brief Enables synchronous APIs. + * @note Disabling this option saves both code and data space. + */ +#if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) +#define UART_USE_WAIT FALSE +#endif + +/** + * @brief Enables the @p uartAcquireBus() and @p uartReleaseBus() APIs. + * @note Disabling this option saves both code and data space. + */ +#if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) +#define UART_USE_MUTUAL_EXCLUSION FALSE +#endif + #endif /* _HALCONF_H_ */ /** @} */ -- cgit v1.2.3