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