aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/AVR/NIL-ARDUINOMEGA/halconf.h1
-rw-r--r--demos/AVR/NIL-ARDUINOUNO/halconf.h1
-rw-r--r--demos/AVR/RT-ARDUINOMEGA/halconf.h1
-rw-r--r--demos/AVR/RT-ARDUINOUNO/halconf.h1
-rw-r--r--demos/KINETIS/RT-FREEDOM-K20D50M-EXT/halconf.h1
-rw-r--r--demos/KINETIS/RT-FREEDOM-K20D50M/halconf.h1
-rw-r--r--demos/KINETIS/RT-FREEDOM-KL25Z-EXT/halconf.h1
-rw-r--r--demos/KINETIS/RT-FREEDOM-KL25Z/halconf.h1
-rw-r--r--demos/KINETIS/RT-MCHCK-K20-GPT/halconf.h1
-rw-r--r--demos/KINETIS/RT-MCHCK-K20-SPI/halconf.h1
-rw-r--r--demos/KINETIS/RT-TEENSY3/halconf.h1
-rw-r--r--demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h1
-rw-r--r--demos/SPC5/NIL-SPC560D-EVB/halconf.h1
-rw-r--r--demos/SPC5/RT-SPC560B-EVB/halconf.h1
-rw-r--r--demos/SPC5/RT-SPC560D-EVB/halconf.h1
-rw-r--r--demos/SPC5/RT-SPC560P-EVB/halconf.h1
-rw-r--r--demos/SPC5/RT-SPC563M-EVB/halconf.h1
-rw-r--r--demos/SPC5/RT-SPC564A-EVB/halconf.h1
-rw-r--r--demos/SPC5/RT-SPC56EC-EVB/halconf.h1
-rw-r--r--demos/SPC5/RT-SPC56EL-EVB/halconf.h1
-rw-r--r--demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h1
-rw-r--r--demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F030R8-NUCLEO/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F051-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F072-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F072RB-NUCLEO/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F091RC-NUCLEO/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F100-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F103RB-NUCLEO/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F207-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F302R8-NUCLEO/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F334R8-NUCLEO/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F401RE-NUCLEO/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY-MEMS/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F411RE-NUCLEO/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F429-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/halconf.h1
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/RT-STM32L053R8-NUCLEO/halconf.h1
-rw-r--r--demos/STM32/RT-STM32L152-DISCOVERY/halconf.h1
-rw-r--r--demos/STM32/RT-STM32L152RE-NUCLEO/halconf.h1
-rw-r--r--demos/STM32/RT-STM32L476RG-NUCLEO/halconf.h1
60 files changed, 60 insertions, 0 deletions
diff --git a/demos/AVR/NIL-ARDUINOMEGA/halconf.h b/demos/AVR/NIL-ARDUINOMEGA/halconf.h
index 074855e72..72c18744d 100644
--- a/demos/AVR/NIL-ARDUINOMEGA/halconf.h
+++ b/demos/AVR/NIL-ARDUINOMEGA/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/AVR/NIL-ARDUINOUNO/halconf.h b/demos/AVR/NIL-ARDUINOUNO/halconf.h
index 074855e72..72c18744d 100644
--- a/demos/AVR/NIL-ARDUINOUNO/halconf.h
+++ b/demos/AVR/NIL-ARDUINOUNO/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/AVR/RT-ARDUINOMEGA/halconf.h b/demos/AVR/RT-ARDUINOMEGA/halconf.h
index 074855e72..72c18744d 100644
--- a/demos/AVR/RT-ARDUINOMEGA/halconf.h
+++ b/demos/AVR/RT-ARDUINOMEGA/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/AVR/RT-ARDUINOUNO/halconf.h b/demos/AVR/RT-ARDUINOUNO/halconf.h
index 074855e72..72c18744d 100644
--- a/demos/AVR/RT-ARDUINOUNO/halconf.h
+++ b/demos/AVR/RT-ARDUINOUNO/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/KINETIS/RT-FREEDOM-K20D50M-EXT/halconf.h b/demos/KINETIS/RT-FREEDOM-K20D50M-EXT/halconf.h
index a813cb250..80ff7455a 100644
--- a/demos/KINETIS/RT-FREEDOM-K20D50M-EXT/halconf.h
+++ b/demos/KINETIS/RT-FREEDOM-K20D50M-EXT/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/KINETIS/RT-FREEDOM-K20D50M/halconf.h b/demos/KINETIS/RT-FREEDOM-K20D50M/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/KINETIS/RT-FREEDOM-K20D50M/halconf.h
+++ b/demos/KINETIS/RT-FREEDOM-K20D50M/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/KINETIS/RT-FREEDOM-KL25Z-EXT/halconf.h b/demos/KINETIS/RT-FREEDOM-KL25Z-EXT/halconf.h
index 5f7202c5c..bed5bcb23 100644
--- a/demos/KINETIS/RT-FREEDOM-KL25Z-EXT/halconf.h
+++ b/demos/KINETIS/RT-FREEDOM-KL25Z-EXT/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/KINETIS/RT-FREEDOM-KL25Z/halconf.h b/demos/KINETIS/RT-FREEDOM-KL25Z/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/KINETIS/RT-FREEDOM-KL25Z/halconf.h
+++ b/demos/KINETIS/RT-FREEDOM-KL25Z/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/KINETIS/RT-MCHCK-K20-GPT/halconf.h b/demos/KINETIS/RT-MCHCK-K20-GPT/halconf.h
index d02b92e5b..5bd391078 100644
--- a/demos/KINETIS/RT-MCHCK-K20-GPT/halconf.h
+++ b/demos/KINETIS/RT-MCHCK-K20-GPT/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/KINETIS/RT-MCHCK-K20-SPI/halconf.h b/demos/KINETIS/RT-MCHCK-K20-SPI/halconf.h
index 861673682..669f33bfe 100644
--- a/demos/KINETIS/RT-MCHCK-K20-SPI/halconf.h
+++ b/demos/KINETIS/RT-MCHCK-K20-SPI/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/KINETIS/RT-TEENSY3/halconf.h b/demos/KINETIS/RT-TEENSY3/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/KINETIS/RT-TEENSY3/halconf.h
+++ b/demos/KINETIS/RT-TEENSY3/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h b/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
+++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/SPC5/NIL-SPC560D-EVB/halconf.h b/demos/SPC5/NIL-SPC560D-EVB/halconf.h
index 6ef61adcc..682795338 100644
--- a/demos/SPC5/NIL-SPC560D-EVB/halconf.h
+++ b/demos/SPC5/NIL-SPC560D-EVB/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/SPC5/RT-SPC560B-EVB/halconf.h b/demos/SPC5/RT-SPC560B-EVB/halconf.h
index 6ef61adcc..682795338 100644
--- a/demos/SPC5/RT-SPC560B-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC560B-EVB/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/SPC5/RT-SPC560D-EVB/halconf.h b/demos/SPC5/RT-SPC560D-EVB/halconf.h
index 6ef61adcc..682795338 100644
--- a/demos/SPC5/RT-SPC560D-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC560D-EVB/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/SPC5/RT-SPC560P-EVB/halconf.h b/demos/SPC5/RT-SPC560P-EVB/halconf.h
index 6ef61adcc..682795338 100644
--- a/demos/SPC5/RT-SPC560P-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC560P-EVB/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/SPC5/RT-SPC563M-EVB/halconf.h b/demos/SPC5/RT-SPC563M-EVB/halconf.h
index 6ef61adcc..682795338 100644
--- a/demos/SPC5/RT-SPC563M-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC563M-EVB/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/SPC5/RT-SPC564A-EVB/halconf.h b/demos/SPC5/RT-SPC564A-EVB/halconf.h
index 6ef61adcc..682795338 100644
--- a/demos/SPC5/RT-SPC564A-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC564A-EVB/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/SPC5/RT-SPC56EC-EVB/halconf.h b/demos/SPC5/RT-SPC56EC-EVB/halconf.h
index 6ef61adcc..682795338 100644
--- a/demos/SPC5/RT-SPC56EC-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC56EC-EVB/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/SPC5/RT-SPC56EL-EVB/halconf.h b/demos/SPC5/RT-SPC56EL-EVB/halconf.h
index 6ef61adcc..682795338 100644
--- a/demos/SPC5/RT-SPC56EL-EVB/halconf.h
+++ b/demos/SPC5/RT-SPC56EL-EVB/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h b/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h
+++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h b/demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h
+++ b/demos/STM32/HAL-STM32F407-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32F100-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32F303-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h
+++ b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h
+++ b/demos/STM32/NIL-STM32L152-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F030R8-NUCLEO/halconf.h b/demos/STM32/RT-STM32F030R8-NUCLEO/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F030R8-NUCLEO/halconf.h
+++ b/demos/STM32/RT-STM32F030R8-NUCLEO/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h b/demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32F031K6-NUCLEO32/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h b/demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32F042K6-NUCLEO32/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F051-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F072-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F072-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F072-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F072-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F072RB-NUCLEO/halconf.h b/demos/STM32/RT-STM32F072RB-NUCLEO/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F072RB-NUCLEO/halconf.h
+++ b/demos/STM32/RT-STM32F072RB-NUCLEO/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F091RC-NUCLEO/halconf.h b/demos/STM32/RT-STM32F091RC-NUCLEO/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F091RC-NUCLEO/halconf.h
+++ b/demos/STM32/RT-STM32F091RC-NUCLEO/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F100-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h b/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h
index 9349c6dfb..6ebcb2107 100644
--- a/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h
+++ b/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h
index d43310597..9cd4919f1 100644
--- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h
+++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F103RB-NUCLEO/halconf.h b/demos/STM32/RT-STM32F103RB-NUCLEO/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F103RB-NUCLEO/halconf.h
+++ b/demos/STM32/RT-STM32F103RB-NUCLEO/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h
index 9349c6dfb..6ebcb2107 100644
--- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F207-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F302R8-NUCLEO/halconf.h b/demos/STM32/RT-STM32F302R8-NUCLEO/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F302R8-NUCLEO/halconf.h
+++ b/demos/STM32/RT-STM32F302R8-NUCLEO/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F303-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h b/demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h
+++ b/demos/STM32/RT-STM32F303K8-NUCLEO32/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F334R8-NUCLEO/halconf.h b/demos/STM32/RT-STM32F334R8-NUCLEO/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F334R8-NUCLEO/halconf.h
+++ b/demos/STM32/RT-STM32F334R8-NUCLEO/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h b/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h
+++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F401C-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F401RE-NUCLEO/halconf.h b/demos/STM32/RT-STM32F401RE-NUCLEO/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F401RE-NUCLEO/halconf.h
+++ b/demos/STM32/RT-STM32F401RE-NUCLEO/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h b/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h
index 79e85ae20..c8d0140c1 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-MEMS/halconf.h b/demos/STM32/RT-STM32F407-DISCOVERY-MEMS/halconf.h
index 95a99bdf4..111a38f9e 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY-MEMS/halconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY-MEMS/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/halconf.h b/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/halconf.h
index f9546cf1a..fbbb81d73 100644
--- a/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/halconf.h
+++ b/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F411RE-NUCLEO/halconf.h b/demos/STM32/RT-STM32F411RE-NUCLEO/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F411RE-NUCLEO/halconf.h
+++ b/demos/STM32/RT-STM32F411RE-NUCLEO/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h
index 9349c6dfb..6ebcb2107 100644
--- a/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F429-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/halconf.h b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/halconf.h
index 50209bce7..b38c9cd51 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/halconf.h
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/halconf.h
@@ -329,6 +329,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F746G-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32L053R8-NUCLEO/halconf.h b/demos/STM32/RT-STM32L053R8-NUCLEO/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32L053R8-NUCLEO/halconf.h
+++ b/demos/STM32/RT-STM32L053R8-NUCLEO/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h b/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32L152-DISCOVERY/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32L152RE-NUCLEO/halconf.h b/demos/STM32/RT-STM32L152RE-NUCLEO/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32L152RE-NUCLEO/halconf.h
+++ b/demos/STM32/RT-STM32L152RE-NUCLEO/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */
diff --git a/demos/STM32/RT-STM32L476RG-NUCLEO/halconf.h b/demos/STM32/RT-STM32L476RG-NUCLEO/halconf.h
index af94b0518..dddc44db8 100644
--- a/demos/STM32/RT-STM32L476RG-NUCLEO/halconf.h
+++ b/demos/STM32/RT-STM32L476RG-NUCLEO/halconf.h
@@ -322,6 +322,7 @@
*/
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
#define SERIAL_USB_BUFFERS_NUMBER 2
+#endif
/*===========================================================================*/
/* SPI driver related settings. */