aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h')
-rw-r--r--demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h b/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h
index 94f8cc588..30cf60a3b 100644
--- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h
+++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/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_ */
/** @} */