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/STM32F4xx/ADC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/CAN/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/DAC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/DMA_STORM/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/EXT/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/GPT/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/I2C/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/I2S/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/PWM-ICU/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/RTC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/SDC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/SPI/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/UART/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F4xx/USB_CDC/halconf.h | 15 +++++++++++++++ 16 files changed, 240 insertions(+) (limited to 'testhal/STM32/STM32F4xx') diff --git a/testhal/STM32/STM32F4xx/ADC/halconf.h b/testhal/STM32/STM32F4xx/ADC/halconf.h index 23d81defc..7370ba335 100644 --- a/testhal/STM32/STM32F4xx/ADC/halconf.h +++ b/testhal/STM32/STM32F4xx/ADC/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/CAN/halconf.h b/testhal/STM32/STM32F4xx/CAN/halconf.h index a1195d7e1..b8358c1f8 100644 --- a/testhal/STM32/STM32F4xx/CAN/halconf.h +++ b/testhal/STM32/STM32F4xx/CAN/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/DAC/halconf.h b/testhal/STM32/STM32F4xx/DAC/halconf.h index dc8857ac7..557b0abb1 100644 --- a/testhal/STM32/STM32F4xx/DAC/halconf.h +++ b/testhal/STM32/STM32F4xx/DAC/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h b/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h index 09ca1aaad..9d06dbaf9 100644 --- a/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h +++ b/testhal/STM32/STM32F4xx/DMA_STORM/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/EXT/halconf.h b/testhal/STM32/STM32F4xx/EXT/halconf.h index 5b67db37b..3cc9534e2 100644 --- a/testhal/STM32/STM32F4xx/EXT/halconf.h +++ b/testhal/STM32/STM32F4xx/EXT/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/GPT/halconf.h b/testhal/STM32/STM32F4xx/GPT/halconf.h index fa562add8..847d2673f 100644 --- a/testhal/STM32/STM32F4xx/GPT/halconf.h +++ b/testhal/STM32/STM32F4xx/GPT/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/I2C/halconf.h b/testhal/STM32/STM32F4xx/I2C/halconf.h index ae69b9284..8db518306 100644 --- a/testhal/STM32/STM32F4xx/I2C/halconf.h +++ b/testhal/STM32/STM32F4xx/I2C/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/I2S/halconf.h b/testhal/STM32/STM32F4xx/I2S/halconf.h index fb3e8905a..ea8341f88 100644 --- a/testhal/STM32/STM32F4xx/I2S/halconf.h +++ b/testhal/STM32/STM32F4xx/I2S/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h index 40207d045..1c16666a4 100644 --- a/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F4xx/IRQ_STORM/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h index 40207d045..1c16666a4 100644 --- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h +++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h index c1a492c2d..23855dcd7 100644 --- a/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F4xx/PWM-ICU/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/RTC/halconf.h b/testhal/STM32/STM32F4xx/RTC/halconf.h index 76a560cdd..7f88aca90 100644 --- a/testhal/STM32/STM32F4xx/RTC/halconf.h +++ b/testhal/STM32/STM32F4xx/RTC/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/SDC/halconf.h b/testhal/STM32/STM32F4xx/SDC/halconf.h index ec7ffc153..d4a738752 100644 --- a/testhal/STM32/STM32F4xx/SDC/halconf.h +++ b/testhal/STM32/STM32F4xx/SDC/halconf.h @@ -301,6 +301,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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/SPI/halconf.h b/testhal/STM32/STM32F4xx/SPI/halconf.h index 99f546dd1..61422a17d 100644 --- a/testhal/STM32/STM32F4xx/SPI/halconf.h +++ b/testhal/STM32/STM32F4xx/SPI/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/UART/halconf.h b/testhal/STM32/STM32F4xx/UART/halconf.h index e9b103442..7835ee459 100644 --- a/testhal/STM32/STM32F4xx/UART/halconf.h +++ b/testhal/STM32/STM32F4xx/UART/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32F4xx/USB_CDC/halconf.h b/testhal/STM32/STM32F4xx/USB_CDC/halconf.h index bb8ebc123..1e66eec4a 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F4xx/USB_CDC/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