diff options
Diffstat (limited to 'testhal/STM32/STM32F0xx')
-rw-r--r-- | testhal/STM32/STM32F0xx/ADC/halconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/STM32F0xx/CAN/halconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/STM32F0xx/EXT/halconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/STM32F0xx/PWM-ICU/halconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/STM32F0xx/SPI/halconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/STM32F0xx/UART/halconf.h | 12 | ||||
-rw-r--r-- | testhal/STM32/STM32F0xx/USB_CDC/halconf.h | 12 |
8 files changed, 96 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F0xx/ADC/halconf.h b/testhal/STM32/STM32F0xx/ADC/halconf.h index 76fcff8d5..96aad4d8b 100644 --- a/testhal/STM32/STM32F0xx/ADC/halconf.h +++ b/testhal/STM32/STM32F0xx/ADC/halconf.h @@ -356,6 +356,18 @@ #define UART_USE_MUTUAL_EXCLUSION FALSE
#endif
+/*===========================================================================*/
+/* USB driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
+#define USB_USE_WAIT FALSE
+#endif
+
#endif /* _HALCONF_H_ */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/CAN/halconf.h b/testhal/STM32/STM32F0xx/CAN/halconf.h index d98ac0e56..1a2a6b24d 100644 --- a/testhal/STM32/STM32F0xx/CAN/halconf.h +++ b/testhal/STM32/STM32F0xx/CAN/halconf.h @@ -356,6 +356,18 @@ #define UART_USE_MUTUAL_EXCLUSION FALSE
#endif
+/*===========================================================================*/
+/* USB driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
+#define USB_USE_WAIT FALSE
+#endif
+
#endif /* _HALCONF_H_ */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/EXT/halconf.h b/testhal/STM32/STM32F0xx/EXT/halconf.h index 3a3840097..79b816982 100644 --- a/testhal/STM32/STM32F0xx/EXT/halconf.h +++ b/testhal/STM32/STM32F0xx/EXT/halconf.h @@ -356,6 +356,18 @@ #define UART_USE_MUTUAL_EXCLUSION FALSE
#endif
+/*===========================================================================*/
+/* USB driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
+#define USB_USE_WAIT FALSE
+#endif
+
#endif /* _HALCONF_H_ */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h index 0ce49402e..01b6a1fbf 100644 --- a/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h @@ -356,6 +356,18 @@ #define UART_USE_MUTUAL_EXCLUSION FALSE
#endif
+/*===========================================================================*/
+/* USB driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
+#define USB_USE_WAIT FALSE
+#endif
+
#endif /* _HALCONF_H_ */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h index 51cf8ed18..5be669e3e 100644 --- a/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h @@ -356,6 +356,18 @@ #define UART_USE_MUTUAL_EXCLUSION FALSE
#endif
+/*===========================================================================*/
+/* USB driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
+#define USB_USE_WAIT FALSE
+#endif
+
#endif /* _HALCONF_H_ */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/SPI/halconf.h b/testhal/STM32/STM32F0xx/SPI/halconf.h index e4f22f196..c5e41a26e 100644 --- a/testhal/STM32/STM32F0xx/SPI/halconf.h +++ b/testhal/STM32/STM32F0xx/SPI/halconf.h @@ -356,6 +356,18 @@ #define UART_USE_MUTUAL_EXCLUSION FALSE
#endif
+/*===========================================================================*/
+/* USB driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
+#define USB_USE_WAIT FALSE
+#endif
+
#endif /* _HALCONF_H_ */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/UART/halconf.h b/testhal/STM32/STM32F0xx/UART/halconf.h index bcf55cff1..ae6ea4423 100644 --- a/testhal/STM32/STM32F0xx/UART/halconf.h +++ b/testhal/STM32/STM32F0xx/UART/halconf.h @@ -356,6 +356,18 @@ #define UART_USE_MUTUAL_EXCLUSION FALSE
#endif
+/*===========================================================================*/
+/* USB driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
+#define USB_USE_WAIT FALSE
+#endif
+
#endif /* _HALCONF_H_ */
/** @} */
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/halconf.h b/testhal/STM32/STM32F0xx/USB_CDC/halconf.h index 4ee7b0c4a..6a2c0c27c 100644 --- a/testhal/STM32/STM32F0xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F0xx/USB_CDC/halconf.h @@ -356,6 +356,18 @@ #define UART_USE_MUTUAL_EXCLUSION FALSE
#endif
+/*===========================================================================*/
+/* USB driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
+#define USB_USE_WAIT FALSE
+#endif
+
#endif /* _HALCONF_H_ */
/** @} */
|