diff options
Diffstat (limited to 'demos/STM32/RT-STM32F100-DISCOVERY')
-rw-r--r-- | demos/STM32/RT-STM32F100-DISCOVERY/halconf.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h +++ b/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h @@ -288,6 +288,21 @@ #endif
/*===========================================================================*/
+/* SERIAL_USB driver related setting. */
+/*===========================================================================*/
+
+/**
+ * @brief Serial over USB buffers size.
+ * @details Configuration parameter, the buffer size must be a multiple of
+ * the USB data endpoint maximum packet size.
+ * @note The default is 64 bytes for both the transmission and receive
+ * buffers.
+ */
+#if !defined(SERIAL_USB_BUFFERS_SIZE) || defined(__DOXYGEN__)
+#define SERIAL_USB_BUFFERS_SIZE 256
+#endif
+
+/*===========================================================================*/
/* SPI driver related settings. */
/*===========================================================================*/
|