From 8cbaf4d1ecea862b142b9e5125e79fa6767b92ce Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 1 Nov 2014 17:27:48 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7451 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/AVR/NIL-ARDUINOMEGA/halconf.h | 15 +++++++++++++++ demos/AVR/RT-ARDUINOMEGA/halconf.h | 15 +++++++++++++++ demos/KINETIS/RT-FREEDOM-K20D50M-EXT/halconf.h | 15 +++++++++++++++ demos/KINETIS/RT-FREEDOM-K20D50M/halconf.h | 15 +++++++++++++++ demos/KINETIS/RT-FREEDOM-KL25Z-EXT/halconf.h | 15 +++++++++++++++ demos/KINETIS/RT-FREEDOM-KL25Z/halconf.h | 15 +++++++++++++++ demos/KINETIS/RT-MCHCK-K20-GPT/halconf.h | 15 +++++++++++++++ demos/KINETIS/RT-MCHCK-K20-SPI/halconf.h | 15 +++++++++++++++ demos/KINETIS/RT-TEENSY3/halconf.h | 15 +++++++++++++++ demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h | 15 +++++++++++++++ demos/SPC5/NIL-SPC560D-EVB/halconf.h | 15 +++++++++++++++ demos/SPC5/RT-SPC560B-EVB/halconf.h | 15 +++++++++++++++ demos/SPC5/RT-SPC560D-EVB/halconf.h | 15 +++++++++++++++ demos/SPC5/RT-SPC560P-EVB/halconf.h | 15 +++++++++++++++ demos/SPC5/RT-SPC563M-EVB/halconf.h | 15 +++++++++++++++ demos/SPC5/RT-SPC564A-EVB/halconf.h | 15 +++++++++++++++ demos/SPC5/RT-SPC56EC-EVB/halconf.h | 15 +++++++++++++++ demos/SPC5/RT-SPC56EL-EVB/halconf.h | 15 +++++++++++++++ demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h | 15 +++++++++++++++ demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h | 15 +++++++++++++++ demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h | 15 +++++++++++++++ demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h | 15 +++++++++++++++ .../STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h | 15 +++++++++++++++ demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32F030R8-NUCLEO/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32F051-DISCOVERY/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32F100-DISCOVERY/halconf.h | 15 +++++++++++++++ .../RT-STM32F103-OLIMEX_STM32_P103/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32F103RB-NUCLEO/halconf.h | 15 +++++++++++++++ .../STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32F303-DISCOVERY/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32F334R8-NUCLEO/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32F401RE-NUCLEO/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32F407-DISCOVERY-MEMS/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32F407-DISCOVERY/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32F429-DISCOVERY/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32L152-DISCOVERY/halconf.h | 15 +++++++++++++++ demos/STM32/RT-STM32L152RE-NUCLEO/halconf.h | 15 +++++++++++++++ os/hal/templates/halconf.h | 2 +- test/rt/coverage/halconf.h | 15 +++++++++++++++ testhal/AVR/GPT/halconf.h | 15 +++++++++++++++ testhal/AVR/I2C/halconf.h | 15 +++++++++++++++ testhal/AVR/ICU/halconf.h | 15 +++++++++++++++ testhal/AVR/PWM/halconf.h | 15 +++++++++++++++ testhal/KINETIS/ADC/halconf.h | 15 +++++++++++++++ testhal/KINETIS/I2C/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F0xx/ADC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F0xx/EXT/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F0xx/PWM-ICU/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F0xx/SPI/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F0xx/UART/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F1xx/ADC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F1xx/CAN/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F1xx/EXT/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F1xx/I2C/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F1xx/PWM-ICU/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F1xx/RTC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F1xx/SPI/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F1xx/UART/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F1xx/USB_CDC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F30x/ADC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F30x/ADC_DUAL/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F30x/CAN/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F30x/EXT/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F30x/IRQ_STORM/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F30x/PWM-ICU/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F30x/SPI/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F30x/UART/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F30x/USB_CDC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F37x/ADC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F37x/CAN/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F37x/EXT/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F37x/I2C/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F37x/IRQ_STORM/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F37x/PWM-ICU/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F37x/SDADC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F37x/SPI/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F37x/UART/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32F37x/USB_CDC/halconf.h | 15 +++++++++++++++ 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 +++++++++++++++ testhal/STM32/STM32L1xx/ADC/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32L1xx/EXT/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32L1xx/PWM-ICU/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32L1xx/SPI/halconf.h | 15 +++++++++++++++ testhal/STM32/STM32L1xx/UART/halconf.h | 15 +++++++++++++++ 106 files changed, 1576 insertions(+), 1 deletion(-) diff --git a/demos/AVR/NIL-ARDUINOMEGA/halconf.h b/demos/AVR/NIL-ARDUINOMEGA/halconf.h index a428b8b8c..98a9f09f8 100644 --- a/demos/AVR/NIL-ARDUINOMEGA/halconf.h +++ b/demos/AVR/NIL-ARDUINOMEGA/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/demos/AVR/RT-ARDUINOMEGA/halconf.h b/demos/AVR/RT-ARDUINOMEGA/halconf.h index a428b8b8c..98a9f09f8 100644 --- a/demos/AVR/RT-ARDUINOMEGA/halconf.h +++ b/demos/AVR/RT-ARDUINOMEGA/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/demos/KINETIS/RT-FREEDOM-K20D50M-EXT/halconf.h b/demos/KINETIS/RT-FREEDOM-K20D50M-EXT/halconf.h index bc5e285c6..ba30f226f 100644 --- a/demos/KINETIS/RT-FREEDOM-K20D50M-EXT/halconf.h +++ b/demos/KINETIS/RT-FREEDOM-K20D50M-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/demos/KINETIS/RT-FREEDOM-K20D50M/halconf.h b/demos/KINETIS/RT-FREEDOM-K20D50M/halconf.h index 2a80fb1f2..fc29cc804 100644 --- a/demos/KINETIS/RT-FREEDOM-K20D50M/halconf.h +++ b/demos/KINETIS/RT-FREEDOM-K20D50M/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/demos/KINETIS/RT-FREEDOM-KL25Z-EXT/halconf.h b/demos/KINETIS/RT-FREEDOM-KL25Z-EXT/halconf.h index 215a5cfe4..f24258e08 100644 --- a/demos/KINETIS/RT-FREEDOM-KL25Z-EXT/halconf.h +++ b/demos/KINETIS/RT-FREEDOM-KL25Z-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/demos/KINETIS/RT-FREEDOM-KL25Z/halconf.h b/demos/KINETIS/RT-FREEDOM-KL25Z/halconf.h index 2a80fb1f2..fc29cc804 100644 --- a/demos/KINETIS/RT-FREEDOM-KL25Z/halconf.h +++ b/demos/KINETIS/RT-FREEDOM-KL25Z/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/demos/KINETIS/RT-MCHCK-K20-GPT/halconf.h b/demos/KINETIS/RT-MCHCK-K20-GPT/halconf.h index 85aa10a44..18c01df4b 100644 --- a/demos/KINETIS/RT-MCHCK-K20-GPT/halconf.h +++ b/demos/KINETIS/RT-MCHCK-K20-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/demos/KINETIS/RT-MCHCK-K20-SPI/halconf.h b/demos/KINETIS/RT-MCHCK-K20-SPI/halconf.h index 56e756665..0d3263452 100644 --- a/demos/KINETIS/RT-MCHCK-K20-SPI/halconf.h +++ b/demos/KINETIS/RT-MCHCK-K20-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/demos/KINETIS/RT-TEENSY3/halconf.h b/demos/KINETIS/RT-TEENSY3/halconf.h index 2a80fb1f2..fc29cc804 100644 --- a/demos/KINETIS/RT-TEENSY3/halconf.h +++ b/demos/KINETIS/RT-TEENSY3/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/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h b/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h +++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/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/demos/SPC5/NIL-SPC560D-EVB/halconf.h b/demos/SPC5/NIL-SPC560D-EVB/halconf.h index 8fb139b16..759646c7e 100644 --- a/demos/SPC5/NIL-SPC560D-EVB/halconf.h +++ b/demos/SPC5/NIL-SPC560D-EVB/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/demos/SPC5/RT-SPC560B-EVB/halconf.h b/demos/SPC5/RT-SPC560B-EVB/halconf.h index 8fb139b16..759646c7e 100644 --- a/demos/SPC5/RT-SPC560B-EVB/halconf.h +++ b/demos/SPC5/RT-SPC560B-EVB/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/demos/SPC5/RT-SPC560D-EVB/halconf.h b/demos/SPC5/RT-SPC560D-EVB/halconf.h index 8fb139b16..759646c7e 100644 --- a/demos/SPC5/RT-SPC560D-EVB/halconf.h +++ b/demos/SPC5/RT-SPC560D-EVB/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/demos/SPC5/RT-SPC560P-EVB/halconf.h b/demos/SPC5/RT-SPC560P-EVB/halconf.h index 8fb139b16..759646c7e 100644 --- a/demos/SPC5/RT-SPC560P-EVB/halconf.h +++ b/demos/SPC5/RT-SPC560P-EVB/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/demos/SPC5/RT-SPC563M-EVB/halconf.h b/demos/SPC5/RT-SPC563M-EVB/halconf.h index 8fb139b16..759646c7e 100644 --- a/demos/SPC5/RT-SPC563M-EVB/halconf.h +++ b/demos/SPC5/RT-SPC563M-EVB/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/demos/SPC5/RT-SPC564A-EVB/halconf.h b/demos/SPC5/RT-SPC564A-EVB/halconf.h index 8fb139b16..759646c7e 100644 --- a/demos/SPC5/RT-SPC564A-EVB/halconf.h +++ b/demos/SPC5/RT-SPC564A-EVB/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/demos/SPC5/RT-SPC56EC-EVB/halconf.h b/demos/SPC5/RT-SPC56EC-EVB/halconf.h index 8fb139b16..759646c7e 100644 --- a/demos/SPC5/RT-SPC56EC-EVB/halconf.h +++ b/demos/SPC5/RT-SPC56EC-EVB/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/demos/SPC5/RT-SPC56EL-EVB/halconf.h b/demos/SPC5/RT-SPC56EL-EVB/halconf.h index 8fb139b16..759646c7e 100644 --- a/demos/SPC5/RT-SPC56EL-EVB/halconf.h +++ b/demos/SPC5/RT-SPC56EL-EVB/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/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h b/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h +++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/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/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h +++ b/demos/STM32/NIL-STM32F051-DISCOVERY/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/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h +++ b/demos/STM32/NIL-STM32F100-DISCOVERY/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/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h +++ b/demos/STM32/NIL-STM32F303-DISCOVERY/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/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h +++ b/demos/STM32/NIL-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. */ /*===========================================================================*/ diff --git a/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h +++ b/demos/STM32/NIL-STM32L152-DISCOVERY/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/demos/STM32/RT-STM32F030R8-NUCLEO/halconf.h b/demos/STM32/RT-STM32F030R8-NUCLEO/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32F030R8-NUCLEO/halconf.h +++ b/demos/STM32/RT-STM32F030R8-NUCLEO/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/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h +++ b/demos/STM32/RT-STM32F051-DISCOVERY/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/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h +++ b/demos/STM32/RT-STM32F100-DISCOVERY/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/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h +++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/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/demos/STM32/RT-STM32F103RB-NUCLEO/halconf.h b/demos/STM32/RT-STM32F103RB-NUCLEO/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32F103RB-NUCLEO/halconf.h +++ b/demos/STM32/RT-STM32F103RB-NUCLEO/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/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h index 7498bbe4d..8b3e041cc 100644 --- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h +++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/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/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h +++ b/demos/STM32/RT-STM32F303-DISCOVERY/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/demos/STM32/RT-STM32F334R8-NUCLEO/halconf.h b/demos/STM32/RT-STM32F334R8-NUCLEO/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32F334R8-NUCLEO/halconf.h +++ b/demos/STM32/RT-STM32F334R8-NUCLEO/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/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. */ /*===========================================================================*/ 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 @@ -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/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h b/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h index 5f178e287..487860fda 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h +++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/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/demos/STM32/RT-STM32F407-DISCOVERY-MEMS/halconf.h b/demos/STM32/RT-STM32F407-DISCOVERY-MEMS/halconf.h index 9ae7cf031..91aa66d8a 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY-MEMS/halconf.h +++ b/demos/STM32/RT-STM32F407-DISCOVERY-MEMS/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/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h +++ b/demos/STM32/RT-STM32F407-DISCOVERY/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/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h index 7498bbe4d..8b3e041cc 100644 --- a/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h +++ b/demos/STM32/RT-STM32F429-DISCOVERY/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/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h b/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h +++ b/demos/STM32/RT-STM32L152-DISCOVERY/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/demos/STM32/RT-STM32L152RE-NUCLEO/halconf.h b/demos/STM32/RT-STM32L152RE-NUCLEO/halconf.h index 351dd61e9..ab3a6629b 100644 --- a/demos/STM32/RT-STM32L152RE-NUCLEO/halconf.h +++ b/demos/STM32/RT-STM32L152RE-NUCLEO/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/os/hal/templates/halconf.h b/os/hal/templates/halconf.h index f30f0f972..bc7a992c1 100644 --- a/os/hal/templates/halconf.h +++ b/os/hal/templates/halconf.h @@ -334,7 +334,7 @@ * buffers. */ #if !defined(SERIAL_USB_BUFFERS_SIZE) || defined(__DOXYGEN__) -#define SERIAL_USB_BUFFERS_SIZE 64 +#define SERIAL_USB_BUFFERS_SIZE 256 #endif /** @} */ diff --git a/test/rt/coverage/halconf.h b/test/rt/coverage/halconf.h index 14a2e7f6b..28669f528 100644 --- a/test/rt/coverage/halconf.h +++ b/test/rt/coverage/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/AVR/GPT/halconf.h b/testhal/AVR/GPT/halconf.h index b8c215469..e6b20a5fd 100644 --- a/testhal/AVR/GPT/halconf.h +++ b/testhal/AVR/GPT/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/AVR/I2C/halconf.h b/testhal/AVR/I2C/halconf.h index 90ac38cb1..3f8ae0410 100644 --- a/testhal/AVR/I2C/halconf.h +++ b/testhal/AVR/I2C/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/AVR/ICU/halconf.h b/testhal/AVR/ICU/halconf.h index 610e261ec..8ac745e04 100644 --- a/testhal/AVR/ICU/halconf.h +++ b/testhal/AVR/ICU/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/AVR/PWM/halconf.h b/testhal/AVR/PWM/halconf.h index fd032c51a..956983e00 100644 --- a/testhal/AVR/PWM/halconf.h +++ b/testhal/AVR/PWM/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/KINETIS/ADC/halconf.h b/testhal/KINETIS/ADC/halconf.h index 96dab346d..d7c8710fd 100644 --- a/testhal/KINETIS/ADC/halconf.h +++ b/testhal/KINETIS/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/KINETIS/I2C/halconf.h b/testhal/KINETIS/I2C/halconf.h index 7344dcac3..5693d289d 100644 --- a/testhal/KINETIS/I2C/halconf.h +++ b/testhal/KINETIS/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/STM32F0xx/ADC/halconf.h b/testhal/STM32/STM32F0xx/ADC/halconf.h index 23d81defc..7370ba335 100644 --- a/testhal/STM32/STM32F0xx/ADC/halconf.h +++ b/testhal/STM32/STM32F0xx/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/STM32F0xx/EXT/halconf.h b/testhal/STM32/STM32F0xx/EXT/halconf.h index 5b67db37b..3cc9534e2 100644 --- a/testhal/STM32/STM32F0xx/EXT/halconf.h +++ b/testhal/STM32/STM32F0xx/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/STM32F0xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h index 40207d045..1c16666a4 100644 --- a/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F0xx/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/STM32F0xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h index c1a492c2d..23855dcd7 100644 --- a/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F0xx/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/STM32F0xx/SPI/halconf.h b/testhal/STM32/STM32F0xx/SPI/halconf.h index 99f546dd1..61422a17d 100644 --- a/testhal/STM32/STM32F0xx/SPI/halconf.h +++ b/testhal/STM32/STM32F0xx/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/STM32F0xx/UART/halconf.h b/testhal/STM32/STM32F0xx/UART/halconf.h index e9b103442..7835ee459 100644 --- a/testhal/STM32/STM32F0xx/UART/halconf.h +++ b/testhal/STM32/STM32F0xx/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/STM32F1xx/ADC/halconf.h b/testhal/STM32/STM32F1xx/ADC/halconf.h index 23d81defc..7370ba335 100644 --- a/testhal/STM32/STM32F1xx/ADC/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/CAN/halconf.h b/testhal/STM32/STM32F1xx/CAN/halconf.h index a1195d7e1..b8358c1f8 100644 --- a/testhal/STM32/STM32F1xx/CAN/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/EXT/halconf.h b/testhal/STM32/STM32F1xx/EXT/halconf.h index 5b67db37b..3cc9534e2 100644 --- a/testhal/STM32/STM32F1xx/EXT/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/I2C/halconf.h b/testhal/STM32/STM32F1xx/I2C/halconf.h index 858b84dbe..a940917ef 100644 --- a/testhal/STM32/STM32F1xx/I2C/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h index 40207d045..1c16666a4 100644 --- a/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h index c1a492c2d..23855dcd7 100644 --- a/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/RTC/halconf.h b/testhal/STM32/STM32F1xx/RTC/halconf.h index db7b1d5db..2e94fee3e 100644 --- a/testhal/STM32/STM32F1xx/RTC/halconf.h +++ b/testhal/STM32/STM32F1xx/RTC/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/STM32F1xx/SPI/halconf.h b/testhal/STM32/STM32F1xx/SPI/halconf.h index 5782fe449..f80622c4b 100644 --- a/testhal/STM32/STM32F1xx/SPI/halconf.h +++ b/testhal/STM32/STM32F1xx/SPI/halconf.h @@ -286,6 +286,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/STM32F1xx/UART/halconf.h b/testhal/STM32/STM32F1xx/UART/halconf.h index e9b103442..7835ee459 100644 --- a/testhal/STM32/STM32F1xx/UART/halconf.h +++ b/testhal/STM32/STM32F1xx/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/STM32F1xx/USB_CDC/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC/halconf.h index 09a9a0cdb..ad1976274 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC/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/STM32F1xx/USB_CDC_F107/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h index 09a9a0cdb..ad1976274 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/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/STM32F30x/ADC/halconf.h b/testhal/STM32/STM32F30x/ADC/halconf.h index 23d81defc..7370ba335 100644 --- a/testhal/STM32/STM32F30x/ADC/halconf.h +++ b/testhal/STM32/STM32F30x/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/STM32F30x/ADC_DUAL/halconf.h b/testhal/STM32/STM32F30x/ADC_DUAL/halconf.h index 23d81defc..7370ba335 100644 --- a/testhal/STM32/STM32F30x/ADC_DUAL/halconf.h +++ b/testhal/STM32/STM32F30x/ADC_DUAL/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/STM32F30x/CAN/halconf.h b/testhal/STM32/STM32F30x/CAN/halconf.h index a1195d7e1..b8358c1f8 100644 --- a/testhal/STM32/STM32F30x/CAN/halconf.h +++ b/testhal/STM32/STM32F30x/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/STM32F30x/EXT/halconf.h b/testhal/STM32/STM32F30x/EXT/halconf.h index 5b67db37b..3cc9534e2 100644 --- a/testhal/STM32/STM32F30x/EXT/halconf.h +++ b/testhal/STM32/STM32F30x/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/STM32F30x/IRQ_STORM/halconf.h b/testhal/STM32/STM32F30x/IRQ_STORM/halconf.h index 40207d045..1c16666a4 100644 --- a/testhal/STM32/STM32F30x/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F30x/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/STM32F30x/PWM-ICU/halconf.h b/testhal/STM32/STM32F30x/PWM-ICU/halconf.h index c1a492c2d..23855dcd7 100644 --- a/testhal/STM32/STM32F30x/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F30x/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/STM32F30x/SPI/halconf.h b/testhal/STM32/STM32F30x/SPI/halconf.h index 99f546dd1..61422a17d 100644 --- a/testhal/STM32/STM32F30x/SPI/halconf.h +++ b/testhal/STM32/STM32F30x/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/STM32F30x/UART/halconf.h b/testhal/STM32/STM32F30x/UART/halconf.h index e9b103442..7835ee459 100644 --- a/testhal/STM32/STM32F30x/UART/halconf.h +++ b/testhal/STM32/STM32F30x/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/STM32F30x/USB_CDC/halconf.h b/testhal/STM32/STM32F30x/USB_CDC/halconf.h index 09a9a0cdb..ad1976274 100644 --- a/testhal/STM32/STM32F30x/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F30x/USB_CDC/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/STM32F37x/ADC/halconf.h b/testhal/STM32/STM32F37x/ADC/halconf.h index 23d81defc..7370ba335 100644 --- a/testhal/STM32/STM32F37x/ADC/halconf.h +++ b/testhal/STM32/STM32F37x/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/STM32F37x/CAN/halconf.h b/testhal/STM32/STM32F37x/CAN/halconf.h index a1195d7e1..b8358c1f8 100644 --- a/testhal/STM32/STM32F37x/CAN/halconf.h +++ b/testhal/STM32/STM32F37x/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/STM32F37x/EXT/halconf.h b/testhal/STM32/STM32F37x/EXT/halconf.h index 5b67db37b..3cc9534e2 100644 --- a/testhal/STM32/STM32F37x/EXT/halconf.h +++ b/testhal/STM32/STM32F37x/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/STM32F37x/I2C/halconf.h b/testhal/STM32/STM32F37x/I2C/halconf.h index 858b84dbe..a940917ef 100644 --- a/testhal/STM32/STM32F37x/I2C/halconf.h +++ b/testhal/STM32/STM32F37x/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/STM32F37x/IRQ_STORM/halconf.h b/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h index 40207d045..1c16666a4 100644 --- a/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F37x/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/STM32F37x/PWM-ICU/halconf.h b/testhal/STM32/STM32F37x/PWM-ICU/halconf.h index c1a492c2d..23855dcd7 100644 --- a/testhal/STM32/STM32F37x/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F37x/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/STM32F37x/SDADC/halconf.h b/testhal/STM32/STM32F37x/SDADC/halconf.h index 23d81defc..7370ba335 100644 --- a/testhal/STM32/STM32F37x/SDADC/halconf.h +++ b/testhal/STM32/STM32F37x/SDADC/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/STM32F37x/SPI/halconf.h b/testhal/STM32/STM32F37x/SPI/halconf.h index 99f546dd1..61422a17d 100644 --- a/testhal/STM32/STM32F37x/SPI/halconf.h +++ b/testhal/STM32/STM32F37x/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/STM32F37x/UART/halconf.h b/testhal/STM32/STM32F37x/UART/halconf.h index e9b103442..7835ee459 100644 --- a/testhal/STM32/STM32F37x/UART/halconf.h +++ b/testhal/STM32/STM32F37x/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/STM32F37x/USB_CDC/halconf.h b/testhal/STM32/STM32F37x/USB_CDC/halconf.h index 09a9a0cdb..ad1976274 100644 --- a/testhal/STM32/STM32F37x/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F37x/USB_CDC/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/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L1xx/ADC/halconf.h b/testhal/STM32/STM32L1xx/ADC/halconf.h index 23d81defc..7370ba335 100644 --- a/testhal/STM32/STM32L1xx/ADC/halconf.h +++ b/testhal/STM32/STM32L1xx/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/STM32L1xx/EXT/halconf.h b/testhal/STM32/STM32L1xx/EXT/halconf.h index aafa92685..1ad6d3938 100644 --- a/testhal/STM32/STM32L1xx/EXT/halconf.h +++ b/testhal/STM32/STM32L1xx/EXT/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/STM32L1xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h index 8a0de4278..1a6ac2989 100644 --- a/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32L1xx/IRQ_STORM/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/STM32L1xx/PWM-ICU/halconf.h b/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h index a5adf535c..ba46a75cf 100644 --- a/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32L1xx/PWM-ICU/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/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. */ /*===========================================================================*/ diff --git a/testhal/STM32/STM32L1xx/UART/halconf.h b/testhal/STM32/STM32L1xx/UART/halconf.h index 243190f6d..d4207583a 100644 --- a/testhal/STM32/STM32L1xx/UART/halconf.h +++ b/testhal/STM32/STM32L1xx/UART/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. */ /*===========================================================================*/