diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-31 11:25:02 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-31 11:25:02 +0000 |
commit | 1671d6b7e129ffbee917c2839f428d6f37206def (patch) | |
tree | 4bfe1cdad6031bdaba365dc29d89ce9cbbd30b7a /demos/STM32/RT-STM32L476RG-NUCLEO/halconf.h | |
parent | ba2c8ab2164f76a70bc333b6988427d8acf2bf8a (diff) | |
download | ChibiOS-1671d6b7e129ffbee917c2839f428d6f37206def.tar.gz ChibiOS-1671d6b7e129ffbee917c2839f428d6f37206def.tar.bz2 ChibiOS-1671d6b7e129ffbee917c2839f428d6f37206def.zip |
Mass update of halconf.h, added USB settings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8663 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32L476RG-NUCLEO/halconf.h')
-rw-r--r-- | demos/STM32/RT-STM32L476RG-NUCLEO/halconf.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32L476RG-NUCLEO/halconf.h b/demos/STM32/RT-STM32L476RG-NUCLEO/halconf.h index 94f8cc588..30cf60a3b 100644 --- a/demos/STM32/RT-STM32L476RG-NUCLEO/halconf.h +++ b/demos/STM32/RT-STM32L476RG-NUCLEO/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_ */
/** @} */
|