diff options
Diffstat (limited to 'testhal/AVR')
-rw-r--r-- | testhal/AVR/GPT/halconf.h | 12 | ||||
-rw-r--r-- | testhal/AVR/I2C/halconf.h | 12 | ||||
-rw-r--r-- | testhal/AVR/ICU/halconf.h | 12 | ||||
-rw-r--r-- | testhal/AVR/PWM/halconf.h | 12 |
4 files changed, 48 insertions, 0 deletions
diff --git a/testhal/AVR/GPT/halconf.h b/testhal/AVR/GPT/halconf.h index fa8dc9c5f..4a0cb5604 100644 --- a/testhal/AVR/GPT/halconf.h +++ b/testhal/AVR/GPT/halconf.h @@ -363,6 +363,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/AVR/I2C/halconf.h b/testhal/AVR/I2C/halconf.h index f9c8f148a..46582feb5 100644 --- a/testhal/AVR/I2C/halconf.h +++ b/testhal/AVR/I2C/halconf.h @@ -363,6 +363,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/AVR/ICU/halconf.h b/testhal/AVR/ICU/halconf.h index 132ee1b01..84e4989da 100644 --- a/testhal/AVR/ICU/halconf.h +++ b/testhal/AVR/ICU/halconf.h @@ -363,6 +363,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/AVR/PWM/halconf.h b/testhal/AVR/PWM/halconf.h index 160faf996..6eced1f95 100644 --- a/testhal/AVR/PWM/halconf.h +++ b/testhal/AVR/PWM/halconf.h @@ -363,6 +363,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_ */
/** @} */
|