diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-31 10:26:34 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-31 10:26:34 +0000 |
commit | ba2c8ab2164f76a70bc333b6988427d8acf2bf8a (patch) | |
tree | db13ec72ce742d5a3a36d0b6d34c667ff5ec26f5 /os/hal/ports/STM32/LLD/USBv1/usb_lld.h | |
parent | 271176de36b36784b51e5dac2379547e92a2f415 (diff) | |
download | ChibiOS-ba2c8ab2164f76a70bc333b6988427d8acf2bf8a.tar.gz ChibiOS-ba2c8ab2164f76a70bc333b6988427d8acf2bf8a.tar.bz2 ChibiOS-ba2c8ab2164f76a70bc333b6988427d8acf2bf8a.zip |
Added switch to disable isochronous support in USBv1 because code size concerns on small devices.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8662 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/USBv1/usb_lld.h')
-rw-r--r-- | os/hal/ports/STM32/LLD/USBv1/usb_lld.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/USBv1/usb_lld.h b/os/hal/ports/STM32/LLD/USBv1/usb_lld.h index 64cf395b8..6214e5ff4 100644 --- a/os/hal/ports/STM32/LLD/USBv1/usb_lld.h +++ b/os/hal/ports/STM32/LLD/USBv1/usb_lld.h @@ -89,6 +89,15 @@ #endif
/**
+ * @brief Enables isochronous support.
+ * @note Isochronous support requires special handling and this makes the
+ * code size increase significantly.
+ */
+#if !defined(STM32_USB_USE_ISOCHRONOUS) || defined(__DOXYGEN__)
+#define STM32_USB_USE_ISOCHRONOUS FALSE
+#endif
+
+/**
* @brief Use faster copy for packets.
* @note Makes the driver larger.
*/
|