diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-11-01 17:27:48 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-11-01 17:27:48 +0000 |
commit | 8cbaf4d1ecea862b142b9e5125e79fa6767b92ce (patch) | |
tree | 66478b27ff98513ea9a9e23267faeb272be353c3 /demos/STM32/RT-STM32F401RE-NUCLEO/halconf.h | |
parent | f1763b234b4139b5216ee87b5fed9d1325387478 (diff) | |
download | ChibiOS-8cbaf4d1ecea862b142b9e5125e79fa6767b92ce.tar.gz ChibiOS-8cbaf4d1ecea862b142b9e5125e79fa6767b92ce.tar.bz2 ChibiOS-8cbaf4d1ecea862b142b9e5125e79fa6767b92ce.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7451 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F401RE-NUCLEO/halconf.h')
-rw-r--r-- | demos/STM32/RT-STM32F401RE-NUCLEO/halconf.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32F401RE-NUCLEO/halconf.h b/demos/STM32/RT-STM32F401RE-NUCLEO/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32F401RE-NUCLEO/halconf.h +++ b/demos/STM32/RT-STM32F401RE-NUCLEO/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. */
/*===========================================================================*/
|