aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h')
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
index 4ee7b0c4a..6a2c0c27c 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/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_ */
/** @} */