aboutsummaryrefslogtreecommitdiffstats
path: root/demos/LPC21xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-11-16 10:11:21 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-11-16 10:11:21 +0000
commit7f125090039adbe5c28e052584c7c32684ab5ec4 (patch)
tree14dbe1f779ac5e4d87e88e22525d67f0529adebb /demos/LPC21xx
parentfb43fe6b84ab283262f7da86faaf16dd4334afea (diff)
downloadChibiOS-7f125090039adbe5c28e052584c7c32684ab5ec4.tar.gz
ChibiOS-7f125090039adbe5c28e052584c7c32684ab5ec4.tar.bz2
ChibiOS-7f125090039adbe5c28e052584c7c32684ab5ec4.zip
Mass update of halconf.h.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8495 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/LPC21xx')
-rw-r--r--demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h b/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
index 3e61eeaf9..d2e1e6b6b 100644
--- a/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
+++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/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_ */
/** @} */