diff options
Diffstat (limited to 'testhal/STM32/STM32F30x')
-rw-r--r-- | testhal/STM32/STM32F30x/ADC/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F30x/ADC_DUAL/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F30x/CAN/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F30x/DAC/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F30x/EXT/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F30x/IRQ_STORM/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F30x/PWM-ICU/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F30x/SPI/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F30x/UART/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F30x/USB_CDC/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F30x/USB_CDC_IAD/halconf.h | 20 |
11 files changed, 220 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F30x/ADC/halconf.h b/testhal/STM32/STM32F30x/ADC/halconf.h index d3f8bfef7..4b733c4bc 100644 --- a/testhal/STM32/STM32F30x/ADC/halconf.h +++ b/testhal/STM32/STM32F30x/ADC/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_ */
/** @} */
diff --git a/testhal/STM32/STM32F30x/ADC_DUAL/halconf.h b/testhal/STM32/STM32F30x/ADC_DUAL/halconf.h index d3f8bfef7..4b733c4bc 100644 --- a/testhal/STM32/STM32F30x/ADC_DUAL/halconf.h +++ b/testhal/STM32/STM32F30x/ADC_DUAL/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_ */
/** @} */
diff --git a/testhal/STM32/STM32F30x/CAN/halconf.h b/testhal/STM32/STM32F30x/CAN/halconf.h index 98e90235b..9578c0811 100644 --- a/testhal/STM32/STM32F30x/CAN/halconf.h +++ b/testhal/STM32/STM32F30x/CAN/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_ */
/** @} */
diff --git a/testhal/STM32/STM32F30x/DAC/halconf.h b/testhal/STM32/STM32F30x/DAC/halconf.h index 28bd0e52d..2b64a1a13 100644 --- a/testhal/STM32/STM32F30x/DAC/halconf.h +++ b/testhal/STM32/STM32F30x/DAC/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_ */
/** @} */
diff --git a/testhal/STM32/STM32F30x/EXT/halconf.h b/testhal/STM32/STM32F30x/EXT/halconf.h index b5620e2a3..e99d770c6 100644 --- a/testhal/STM32/STM32F30x/EXT/halconf.h +++ b/testhal/STM32/STM32F30x/EXT/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_ */
/** @} */
diff --git a/testhal/STM32/STM32F30x/IRQ_STORM/halconf.h b/testhal/STM32/STM32F30x/IRQ_STORM/halconf.h index 102d533f6..908ee5f1b 100644 --- a/testhal/STM32/STM32F30x/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F30x/IRQ_STORM/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_ */
/** @} */
diff --git a/testhal/STM32/STM32F30x/PWM-ICU/halconf.h b/testhal/STM32/STM32F30x/PWM-ICU/halconf.h index 39a82c74f..543d7aa61 100644 --- a/testhal/STM32/STM32F30x/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F30x/PWM-ICU/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_ */
/** @} */
diff --git a/testhal/STM32/STM32F30x/SPI/halconf.h b/testhal/STM32/STM32F30x/SPI/halconf.h index d06919a64..a73333cec 100644 --- a/testhal/STM32/STM32F30x/SPI/halconf.h +++ b/testhal/STM32/STM32F30x/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_ */
/** @} */
diff --git a/testhal/STM32/STM32F30x/UART/halconf.h b/testhal/STM32/STM32F30x/UART/halconf.h index ef46a7576..1dff6f15f 100644 --- a/testhal/STM32/STM32F30x/UART/halconf.h +++ b/testhal/STM32/STM32F30x/UART/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_ */
/** @} */
diff --git a/testhal/STM32/STM32F30x/USB_CDC/halconf.h b/testhal/STM32/STM32F30x/USB_CDC/halconf.h index 2472ba7ed..eeacd2c4f 100644 --- a/testhal/STM32/STM32F30x/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F30x/USB_CDC/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_ */
/** @} */
diff --git a/testhal/STM32/STM32F30x/USB_CDC_IAD/halconf.h b/testhal/STM32/STM32F30x/USB_CDC_IAD/halconf.h index 2472ba7ed..eeacd2c4f 100644 --- a/testhal/STM32/STM32F30x/USB_CDC_IAD/halconf.h +++ b/testhal/STM32/STM32F30x/USB_CDC_IAD/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_ */
/** @} */
|