diff options
Diffstat (limited to 'test/rt/testbuild/halconf.h')
-rw-r--r-- | test/rt/testbuild/halconf.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/rt/testbuild/halconf.h b/test/rt/testbuild/halconf.h index 4ee671200..252f43f6b 100644 --- a/test/rt/testbuild/halconf.h +++ b/test/rt/testbuild/halconf.h @@ -336,6 +336,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_ */
/** @} */
|