diff options
Diffstat (limited to 'testhal/STM32/STM32L1xx')
-rw-r--r-- | testhal/STM32/STM32L1xx/ADC/halconf.h | 13 | ||||
-rw-r--r-- | testhal/STM32/STM32L1xx/DAC/halconf.h | 13 | ||||
-rw-r--r-- | testhal/STM32/STM32L1xx/EXT/halconf.h | 13 | ||||
-rw-r--r-- | testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h | 13 | ||||
-rw-r--r-- | testhal/STM32/STM32L1xx/PWM-ICU/halconf.h | 13 | ||||
-rw-r--r-- | testhal/STM32/STM32L1xx/SPI/halconf.h | 13 | ||||
-rw-r--r-- | testhal/STM32/STM32L1xx/UART/halconf.h | 13 |
7 files changed, 70 insertions, 21 deletions
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_ */
|