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 --- testhal/STM32/STM32L1xx/SPI/halconf.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'testhal/STM32/STM32L1xx/SPI') diff --git a/testhal/STM32/STM32L1xx/SPI/halconf.h b/testhal/STM32/STM32L1xx/SPI/halconf.h index 6549d25d6..4f3b4e78d 100644 --- a/testhal/STM32/STM32L1xx/SPI/halconf.h +++ b/testhal/STM32/STM32L1xx/SPI/halconf.h @@ -294,6 +294,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