From f14b80fff13875c0736dc779e2f83cda25b8d8da Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 3 Jan 2016 11:22:38 +0000 Subject: Added missing entry to halconf.h files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8677 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/AVR/GPT/halconf.h | 13 ++++++++++--- testhal/AVR/I2C/halconf.h | 13 ++++++++++--- testhal/AVR/ICU/halconf.h | 13 ++++++++++--- testhal/AVR/PWM/halconf.h | 13 ++++++++++--- testhal/KINETIS/ADC/halconf.h | 13 ++++++++++--- testhal/KINETIS/I2C/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F0xx/ADC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F0xx/CAN/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F0xx/EXT/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F0xx/PWM-ICU/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F0xx/SPI/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F0xx/UART/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F0xx/USB_CDC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F1xx/ADC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F1xx/CAN/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F1xx/EXT/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F1xx/I2C/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F1xx/PWM-ICU/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F1xx/RTC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F1xx/SPI/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F1xx/UART/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F1xx/USB_CDC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F37x/ADC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F37x/CAN/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F37x/EXT/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F37x/I2C/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F37x/IRQ_STORM/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F37x/PWM-ICU/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F37x/SDADC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F37x/SPI/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F37x/UART/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F37x/USB_CDC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F3xx/ADC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F3xx/CAN/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F3xx/DAC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F3xx/EXT/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F3xx/PWM-ICU/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F3xx/SPI/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F3xx/UART/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F3xx/USB_CDC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F3xx/WDG/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/ADC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/CAN/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/DAC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/DMA_STORM/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/EXT/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/GPT/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/I2C/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/I2S/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/PWM-ICU/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/RTC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/SDC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/SPI/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/UART/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/USB_CDC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F4xx/WDG/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F7xx/GPT-ADC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F7xx/PWM-ICU/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F7xx/SPI/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F7xx/USB_CDC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32F7xx/USB_RAW/halconf.h | 13 ++++++++++--- testhal/STM32/STM32L0xx/ADC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32L0xx/EXT/halconf.h | 13 ++++++++++--- testhal/STM32/STM32L0xx/SPI/halconf.h | 13 ++++++++++--- testhal/STM32/STM32L1xx/ADC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32L1xx/DAC/halconf.h | 13 ++++++++++--- testhal/STM32/STM32L1xx/EXT/halconf.h | 13 ++++++++++--- testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h | 13 ++++++++++--- testhal/STM32/STM32L1xx/PWM-ICU/halconf.h | 13 ++++++++++--- testhal/STM32/STM32L1xx/SPI/halconf.h | 13 ++++++++++--- testhal/STM32/STM32L1xx/UART/halconf.h | 13 ++++++++++--- testhal/STM32/STM32L4xx/CAN/halconf.h | 13 ++++++++++--- testhal/STM32/STM32L4xx/GPT-ADC/halconf.h | 13 ++++++++++--- 84 files changed, 840 insertions(+), 252 deletions(-) (limited to 'testhal') diff --git a/testhal/AVR/GPT/halconf.h b/testhal/AVR/GPT/halconf.h index 044da3f86..fcea2ae41 100644 --- a/testhal/AVR/GPT/halconf.h +++ b/testhal/AVR/GPT/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/AVR/I2C/halconf.h b/testhal/AVR/I2C/halconf.h index 7f99557c1..d0e8bdff6 100644 --- a/testhal/AVR/I2C/halconf.h +++ b/testhal/AVR/I2C/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/AVR/ICU/halconf.h b/testhal/AVR/ICU/halconf.h index b4126f9f6..c69e5da98 100644 --- a/testhal/AVR/ICU/halconf.h +++ b/testhal/AVR/ICU/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/AVR/PWM/halconf.h b/testhal/AVR/PWM/halconf.h index e6835ca52..2b7ce3d4e 100644 --- a/testhal/AVR/PWM/halconf.h +++ b/testhal/AVR/PWM/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/KINETIS/ADC/halconf.h b/testhal/KINETIS/ADC/halconf.h index c43289171..cf3d9b81e 100644 --- a/testhal/KINETIS/ADC/halconf.h +++ b/testhal/KINETIS/ADC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/KINETIS/I2C/halconf.h b/testhal/KINETIS/I2C/halconf.h index a8f0949b8..d5da526da 100644 --- a/testhal/KINETIS/I2C/halconf.h +++ b/testhal/KINETIS/I2C/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F0xx/ADC/halconf.h b/testhal/STM32/STM32F0xx/ADC/halconf.h index c43289171..cf3d9b81e 100644 --- a/testhal/STM32/STM32F0xx/ADC/halconf.h +++ b/testhal/STM32/STM32F0xx/ADC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F0xx/CAN/halconf.h b/testhal/STM32/STM32F0xx/CAN/halconf.h index d8eecf831..1b1b02851 100644 --- a/testhal/STM32/STM32F0xx/CAN/halconf.h +++ b/testhal/STM32/STM32F0xx/CAN/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F0xx/EXT/halconf.h b/testhal/STM32/STM32F0xx/EXT/halconf.h index 70dd600aa..a813cb250 100644 --- a/testhal/STM32/STM32F0xx/EXT/halconf.h +++ b/testhal/STM32/STM32F0xx/EXT/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h index e76bb7f22..d02b92e5b 100644 --- a/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h index 4cb2ed4f9..f876b9d4a 100644 --- a/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F0xx/SPI/halconf.h b/testhal/STM32/STM32F0xx/SPI/halconf.h index d84380697..3d6a61e6b 100644 --- a/testhal/STM32/STM32F0xx/SPI/halconf.h +++ b/testhal/STM32/STM32F0xx/SPI/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F0xx/UART/halconf.h b/testhal/STM32/STM32F0xx/UART/halconf.h index 2cf8e1890..19ea70d0a 100644 --- a/testhal/STM32/STM32F0xx/UART/halconf.h +++ b/testhal/STM32/STM32F0xx/UART/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F0xx/USB_CDC/halconf.h b/testhal/STM32/STM32F0xx/USB_CDC/halconf.h index a0fc6d4d7..9349c6dfb 100644 --- a/testhal/STM32/STM32F0xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F0xx/USB_CDC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F1xx/ADC/halconf.h b/testhal/STM32/STM32F1xx/ADC/halconf.h index c43289171..cf3d9b81e 100644 --- a/testhal/STM32/STM32F1xx/ADC/halconf.h +++ b/testhal/STM32/STM32F1xx/ADC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F1xx/CAN/halconf.h b/testhal/STM32/STM32F1xx/CAN/halconf.h index d8eecf831..1b1b02851 100644 --- a/testhal/STM32/STM32F1xx/CAN/halconf.h +++ b/testhal/STM32/STM32F1xx/CAN/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F1xx/EXT/halconf.h b/testhal/STM32/STM32F1xx/EXT/halconf.h index 70dd600aa..a813cb250 100644 --- a/testhal/STM32/STM32F1xx/EXT/halconf.h +++ b/testhal/STM32/STM32F1xx/EXT/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F1xx/I2C/halconf.h b/testhal/STM32/STM32F1xx/I2C/halconf.h index a8f0949b8..d5da526da 100644 --- a/testhal/STM32/STM32F1xx/I2C/halconf.h +++ b/testhal/STM32/STM32F1xx/I2C/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h index e76bb7f22..d02b92e5b 100644 --- a/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h index 4cb2ed4f9..f876b9d4a 100644 --- a/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F1xx/RTC/halconf.h b/testhal/STM32/STM32F1xx/RTC/halconf.h index f2ef4a145..d00089de3 100644 --- a/testhal/STM32/STM32F1xx/RTC/halconf.h +++ b/testhal/STM32/STM32F1xx/RTC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F1xx/SPI/halconf.h b/testhal/STM32/STM32F1xx/SPI/halconf.h index a6b5a9dbe..98c99e9a6 100644 --- a/testhal/STM32/STM32F1xx/SPI/halconf.h +++ b/testhal/STM32/STM32F1xx/SPI/halconf.h @@ -315,6 +315,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -344,7 +351,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -364,7 +371,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F1xx/UART/halconf.h b/testhal/STM32/STM32F1xx/UART/halconf.h index 2cf8e1890..19ea70d0a 100644 --- a/testhal/STM32/STM32F1xx/UART/halconf.h +++ b/testhal/STM32/STM32F1xx/UART/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F1xx/USB_CDC/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC/halconf.h index a0fc6d4d7..9349c6dfb 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h index a0fc6d4d7..9349c6dfb 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F37x/ADC/halconf.h b/testhal/STM32/STM32F37x/ADC/halconf.h index c43289171..cf3d9b81e 100644 --- a/testhal/STM32/STM32F37x/ADC/halconf.h +++ b/testhal/STM32/STM32F37x/ADC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F37x/CAN/halconf.h b/testhal/STM32/STM32F37x/CAN/halconf.h index d8eecf831..1b1b02851 100644 --- a/testhal/STM32/STM32F37x/CAN/halconf.h +++ b/testhal/STM32/STM32F37x/CAN/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F37x/EXT/halconf.h b/testhal/STM32/STM32F37x/EXT/halconf.h index 70dd600aa..a813cb250 100644 --- a/testhal/STM32/STM32F37x/EXT/halconf.h +++ b/testhal/STM32/STM32F37x/EXT/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F37x/I2C/halconf.h b/testhal/STM32/STM32F37x/I2C/halconf.h index a8f0949b8..d5da526da 100644 --- a/testhal/STM32/STM32F37x/I2C/halconf.h +++ b/testhal/STM32/STM32F37x/I2C/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h b/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h index e76bb7f22..d02b92e5b 100644 --- a/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F37x/PWM-ICU/halconf.h b/testhal/STM32/STM32F37x/PWM-ICU/halconf.h index 4cb2ed4f9..f876b9d4a 100644 --- a/testhal/STM32/STM32F37x/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F37x/PWM-ICU/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F37x/SDADC/halconf.h b/testhal/STM32/STM32F37x/SDADC/halconf.h index c43289171..cf3d9b81e 100644 --- a/testhal/STM32/STM32F37x/SDADC/halconf.h +++ b/testhal/STM32/STM32F37x/SDADC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F37x/SPI/halconf.h b/testhal/STM32/STM32F37x/SPI/halconf.h index d84380697..3d6a61e6b 100644 --- a/testhal/STM32/STM32F37x/SPI/halconf.h +++ b/testhal/STM32/STM32F37x/SPI/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F37x/UART/halconf.h b/testhal/STM32/STM32F37x/UART/halconf.h index 2cf8e1890..19ea70d0a 100644 --- a/testhal/STM32/STM32F37x/UART/halconf.h +++ b/testhal/STM32/STM32F37x/UART/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F37x/USB_CDC/halconf.h b/testhal/STM32/STM32F37x/USB_CDC/halconf.h index a0fc6d4d7..9349c6dfb 100644 --- a/testhal/STM32/STM32F37x/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F37x/USB_CDC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F3xx/ADC/halconf.h b/testhal/STM32/STM32F3xx/ADC/halconf.h index c43289171..cf3d9b81e 100644 --- a/testhal/STM32/STM32F3xx/ADC/halconf.h +++ b/testhal/STM32/STM32F3xx/ADC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h b/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h index c43289171..cf3d9b81e 100644 --- a/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h +++ b/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F3xx/CAN/halconf.h b/testhal/STM32/STM32F3xx/CAN/halconf.h index d8eecf831..1b1b02851 100644 --- a/testhal/STM32/STM32F3xx/CAN/halconf.h +++ b/testhal/STM32/STM32F3xx/CAN/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F3xx/DAC/halconf.h b/testhal/STM32/STM32F3xx/DAC/halconf.h index 44e331a64..75a64cc1a 100644 --- a/testhal/STM32/STM32F3xx/DAC/halconf.h +++ b/testhal/STM32/STM32F3xx/DAC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F3xx/EXT/halconf.h b/testhal/STM32/STM32F3xx/EXT/halconf.h index 70dd600aa..a813cb250 100644 --- a/testhal/STM32/STM32F3xx/EXT/halconf.h +++ b/testhal/STM32/STM32F3xx/EXT/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h index e76bb7f22..d02b92e5b 100644 --- a/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h index 4cb2ed4f9..f876b9d4a 100644 --- a/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F3xx/SPI/halconf.h b/testhal/STM32/STM32F3xx/SPI/halconf.h index d84380697..3d6a61e6b 100644 --- a/testhal/STM32/STM32F3xx/SPI/halconf.h +++ b/testhal/STM32/STM32F3xx/SPI/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F3xx/UART/halconf.h b/testhal/STM32/STM32F3xx/UART/halconf.h index 2cf8e1890..19ea70d0a 100644 --- a/testhal/STM32/STM32F3xx/UART/halconf.h +++ b/testhal/STM32/STM32F3xx/UART/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F3xx/USB_CDC/halconf.h b/testhal/STM32/STM32F3xx/USB_CDC/halconf.h index a0fc6d4d7..9349c6dfb 100644 --- a/testhal/STM32/STM32F3xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F3xx/USB_CDC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h b/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h index a0fc6d4d7..9349c6dfb 100644 --- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h +++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F3xx/WDG/halconf.h b/testhal/STM32/STM32F3xx/WDG/halconf.h index f75545aa4..a9a0808b4 100644 --- a/testhal/STM32/STM32F3xx/WDG/halconf.h +++ b/testhal/STM32/STM32F3xx/WDG/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/ADC/halconf.h b/testhal/STM32/STM32F4xx/ADC/halconf.h index c43289171..cf3d9b81e 100644 --- a/testhal/STM32/STM32F4xx/ADC/halconf.h +++ b/testhal/STM32/STM32F4xx/ADC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/CAN/halconf.h b/testhal/STM32/STM32F4xx/CAN/halconf.h index d8eecf831..1b1b02851 100644 --- a/testhal/STM32/STM32F4xx/CAN/halconf.h +++ b/testhal/STM32/STM32F4xx/CAN/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/DAC/halconf.h b/testhal/STM32/STM32F4xx/DAC/halconf.h index 44e331a64..75a64cc1a 100644 --- a/testhal/STM32/STM32F4xx/DAC/halconf.h +++ b/testhal/STM32/STM32F4xx/DAC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h b/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h index 44e331a64..75a64cc1a 100644 --- a/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h +++ b/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h b/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h index 5e31ca4df..163696fd8 100644 --- a/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h +++ b/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/EXT/halconf.h b/testhal/STM32/STM32F4xx/EXT/halconf.h index 70dd600aa..a813cb250 100644 --- a/testhal/STM32/STM32F4xx/EXT/halconf.h +++ b/testhal/STM32/STM32F4xx/EXT/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/GPT/halconf.h b/testhal/STM32/STM32F4xx/GPT/halconf.h index 9dd617194..9c0f81d85 100644 --- a/testhal/STM32/STM32F4xx/GPT/halconf.h +++ b/testhal/STM32/STM32F4xx/GPT/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/I2C/halconf.h b/testhal/STM32/STM32F4xx/I2C/halconf.h index ddb3dec8d..1ea7de15f 100644 --- a/testhal/STM32/STM32F4xx/I2C/halconf.h +++ b/testhal/STM32/STM32F4xx/I2C/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/I2S/halconf.h b/testhal/STM32/STM32F4xx/I2S/halconf.h index b243a6d81..498b5a287 100644 --- a/testhal/STM32/STM32F4xx/I2S/halconf.h +++ b/testhal/STM32/STM32F4xx/I2S/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h index e76bb7f22..d02b92e5b 100644 --- a/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h index e76bb7f22..d02b92e5b 100644 --- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h +++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h index 4cb2ed4f9..f876b9d4a 100644 --- a/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/RTC/halconf.h b/testhal/STM32/STM32F4xx/RTC/halconf.h index 7fbf48561..95032181f 100644 --- a/testhal/STM32/STM32F4xx/RTC/halconf.h +++ b/testhal/STM32/STM32F4xx/RTC/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/SDC/halconf.h b/testhal/STM32/STM32F4xx/SDC/halconf.h index a713d3706..41c2940d7 100644 --- a/testhal/STM32/STM32F4xx/SDC/halconf.h +++ b/testhal/STM32/STM32F4xx/SDC/halconf.h @@ -330,6 +330,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -359,7 +366,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -367,7 +374,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -379,7 +386,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/SPI/halconf.h b/testhal/STM32/STM32F4xx/SPI/halconf.h index d84380697..3d6a61e6b 100644 --- a/testhal/STM32/STM32F4xx/SPI/halconf.h +++ b/testhal/STM32/STM32F4xx/SPI/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/UART/halconf.h b/testhal/STM32/STM32F4xx/UART/halconf.h index 2cf8e1890..19ea70d0a 100644 --- a/testhal/STM32/STM32F4xx/UART/halconf.h +++ b/testhal/STM32/STM32F4xx/UART/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/USB_CDC/halconf.h b/testhal/STM32/STM32F4xx/USB_CDC/halconf.h index edec77122..8b489ef5c 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F4xx/USB_CDC/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h b/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h index edec77122..8b489ef5c 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h +++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F4xx/WDG/halconf.h b/testhal/STM32/STM32F4xx/WDG/halconf.h index f75545aa4..a9a0808b4 100644 --- a/testhal/STM32/STM32F4xx/WDG/halconf.h +++ b/testhal/STM32/STM32F4xx/WDG/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h b/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h index 657bc3b01..610cca3f8 100644 --- a/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h +++ b/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h index e76bb7f22..d02b92e5b 100644 --- a/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h index f92f8fd06..26d160b66 100644 --- a/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F7xx/SPI/halconf.h b/testhal/STM32/STM32F7xx/SPI/halconf.h index 2771cf869..861673682 100644 --- a/testhal/STM32/STM32F7xx/SPI/halconf.h +++ b/testhal/STM32/STM32F7xx/SPI/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F7xx/USB_CDC/halconf.h b/testhal/STM32/STM32F7xx/USB_CDC/halconf.h index edec77122..8b489ef5c 100644 --- a/testhal/STM32/STM32F7xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F7xx/USB_CDC/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32F7xx/USB_RAW/halconf.h b/testhal/STM32/STM32F7xx/USB_RAW/halconf.h index 64871cdee..5d26b614d 100644 --- a/testhal/STM32/STM32F7xx/USB_RAW/halconf.h +++ b/testhal/STM32/STM32F7xx/USB_RAW/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32L0xx/ADC/halconf.h b/testhal/STM32/STM32L0xx/ADC/halconf.h index c43289171..cf3d9b81e 100644 --- a/testhal/STM32/STM32L0xx/ADC/halconf.h +++ b/testhal/STM32/STM32L0xx/ADC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32L0xx/EXT/halconf.h b/testhal/STM32/STM32L0xx/EXT/halconf.h index 70dd600aa..a813cb250 100644 --- a/testhal/STM32/STM32L0xx/EXT/halconf.h +++ b/testhal/STM32/STM32L0xx/EXT/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32L0xx/SPI/halconf.h b/testhal/STM32/STM32L0xx/SPI/halconf.h index d84380697..3d6a61e6b 100644 --- a/testhal/STM32/STM32L0xx/SPI/halconf.h +++ b/testhal/STM32/STM32L0xx/SPI/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32L1xx/ADC/halconf.h b/testhal/STM32/STM32L1xx/ADC/halconf.h index c43289171..cf3d9b81e 100644 --- a/testhal/STM32/STM32L1xx/ADC/halconf.h +++ b/testhal/STM32/STM32L1xx/ADC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32L1xx/DAC/halconf.h b/testhal/STM32/STM32L1xx/DAC/halconf.h index 44e331a64..75a64cc1a 100644 --- a/testhal/STM32/STM32L1xx/DAC/halconf.h +++ b/testhal/STM32/STM32L1xx/DAC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32L1xx/EXT/halconf.h b/testhal/STM32/STM32L1xx/EXT/halconf.h index 50dbf09a6..00baf58fd 100644 --- a/testhal/STM32/STM32L1xx/EXT/halconf.h +++ b/testhal/STM32/STM32L1xx/EXT/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h index 1b0a9f6d0..57116c74c 100644 --- a/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h b/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h index 6b66677fd..9643737e1 100644 --- a/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32L1xx/SPI/halconf.h b/testhal/STM32/STM32L1xx/SPI/halconf.h index a427c528b..c8c9b2e7f 100644 --- a/testhal/STM32/STM32L1xx/SPI/halconf.h +++ b/testhal/STM32/STM32L1xx/SPI/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32L1xx/UART/halconf.h b/testhal/STM32/STM32L1xx/UART/halconf.h index b8393d50a..8a0009e86 100644 --- a/testhal/STM32/STM32L1xx/UART/halconf.h +++ b/testhal/STM32/STM32L1xx/UART/halconf.h @@ -323,6 +323,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -352,7 +359,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -360,7 +367,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -372,7 +379,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32L4xx/CAN/halconf.h b/testhal/STM32/STM32L4xx/CAN/halconf.h index d8eecf831..1b1b02851 100644 --- a/testhal/STM32/STM32L4xx/CAN/halconf.h +++ b/testhal/STM32/STM32L4xx/CAN/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ diff --git a/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h b/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h index 657bc3b01..610cca3f8 100644 --- a/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h +++ b/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h @@ -316,6 +316,13 @@ #define SERIAL_USB_BUFFERS_SIZE 256 #endif +/** + * @brief Serial over USB number of buffers. + * @note The default is 2 buffers. + */ +#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) +#define SERIAL_USB_BUFFERS_NUMBER 2 + /*===========================================================================*/ /* SPI driver related settings. */ /*===========================================================================*/ @@ -345,7 +352,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) -#define UART_USE_WAIT FALSE +#define UART_USE_WAIT FALSE #endif /** @@ -353,7 +360,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define UART_USE_MUTUAL_EXCLUSION FALSE +#define UART_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -365,7 +372,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) -#define USB_USE_WAIT FALSE +#define USB_USE_WAIT FALSE #endif #endif /* _HALCONF_H_ */ -- cgit v1.2.3