From f14b80fff13875c0736dc779e2f83cda25b8d8da Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 3 Jan 2016 11:22:38 +0000 Subject: Added missing entry to halconf.h files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8677 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32F207-DISCOVERY/halconf.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'demos/STM32/RT-STM32F207-DISCOVERY') diff --git a/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h index ca98c1347..af94b0518 100644 --- a/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h +++ b/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ -- cgit v1.2.3