From 8cbaf4d1ecea862b142b9e5125e79fa6767b92ce Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 1 Nov 2014 17:27:48 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7451 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h') diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h b/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h +++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h @@ -287,6 +287,21 @@ #define SERIAL_BUFFERS_SIZE 16 #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. */ /*===========================================================================*/ -- cgit v1.2.3