diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-16 10:11:21 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-16 10:11:21 +0000 |
commit | 7f125090039adbe5c28e052584c7c32684ab5ec4 (patch) | |
tree | 14dbe1f779ac5e4d87e88e22525d67f0529adebb /testhal/STM32/STM32F1xx | |
parent | fb43fe6b84ab283262f7da86faaf16dd4334afea (diff) | |
download | ChibiOS-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 'testhal/STM32/STM32F1xx')
-rw-r--r-- | testhal/STM32/STM32F1xx/ADC/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/CAN/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/EXT/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/I2C/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/PWM-ICU/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/RTC/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/SPI/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/UART/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/USB_CDC/halconf.h | 20 | ||||
-rw-r--r-- | testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h | 20 |
11 files changed, 220 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F1xx/ADC/halconf.h b/testhal/STM32/STM32F1xx/ADC/halconf.h index d3f8bfef7..4b733c4bc 100644 --- a/testhal/STM32/STM32F1xx/ADC/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/CAN/halconf.h b/testhal/STM32/STM32F1xx/CAN/halconf.h index 98e90235b..9578c0811 100644 --- a/testhal/STM32/STM32F1xx/CAN/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/EXT/halconf.h b/testhal/STM32/STM32F1xx/EXT/halconf.h index b5620e2a3..e99d770c6 100644 --- a/testhal/STM32/STM32F1xx/EXT/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/I2C/halconf.h b/testhal/STM32/STM32F1xx/I2C/halconf.h index 0995ecd7c..d7b01bac9 100644 --- a/testhal/STM32/STM32F1xx/I2C/halconf.h +++ b/testhal/STM32/STM32F1xx/I2C/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/STM32F1xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h index 102d533f6..908ee5f1b 100644 --- a/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h index 39a82c74f..543d7aa61 100644 --- a/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/RTC/halconf.h b/testhal/STM32/STM32F1xx/RTC/halconf.h index b91773ea2..93802597a 100644 --- a/testhal/STM32/STM32F1xx/RTC/halconf.h +++ b/testhal/STM32/STM32F1xx/RTC/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/STM32F1xx/SPI/halconf.h b/testhal/STM32/STM32F1xx/SPI/halconf.h index 270730ebc..27279e5ee 100644 --- a/testhal/STM32/STM32F1xx/SPI/halconf.h +++ b/testhal/STM32/STM32F1xx/SPI/halconf.h @@ -328,6 +328,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/STM32F1xx/UART/halconf.h b/testhal/STM32/STM32F1xx/UART/halconf.h index ef46a7576..1dff6f15f 100644 --- a/testhal/STM32/STM32F1xx/UART/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/USB_CDC/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC/halconf.h index 2472ba7ed..eeacd2c4f 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/USB_CDC_F107/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h index 2472ba7ed..eeacd2c4f 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/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_ */
/** @} */
|