diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-01-03 11:22:38 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-01-03 11:22:38 +0000 |
commit | f14b80fff13875c0736dc779e2f83cda25b8d8da (patch) | |
tree | 682901684980128037232b77c52c115e4ffcbb59 /demos/AVR | |
parent | 4972de4967f5c175edb6b6c4c4706695812873bc (diff) | |
download | ChibiOS-f14b80fff13875c0736dc779e2f83cda25b8d8da.tar.gz ChibiOS-f14b80fff13875c0736dc779e2f83cda25b8d8da.tar.bz2 ChibiOS-f14b80fff13875c0736dc779e2f83cda25b8d8da.zip |
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
Diffstat (limited to 'demos/AVR')
-rw-r--r-- | demos/AVR/NIL-ARDUINOMEGA/halconf.h | 13 | ||||
-rw-r--r-- | demos/AVR/NIL-ARDUINOUNO/halconf.h | 13 | ||||
-rw-r--r-- | demos/AVR/RT-ARDUINOMEGA/halconf.h | 13 | ||||
-rw-r--r-- | demos/AVR/RT-ARDUINOUNO/halconf.h | 13 |
4 files changed, 40 insertions, 12 deletions
diff --git a/demos/AVR/NIL-ARDUINOMEGA/halconf.h b/demos/AVR/NIL-ARDUINOMEGA/halconf.h index 88c58350a..074855e72 100644 --- a/demos/AVR/NIL-ARDUINOMEGA/halconf.h +++ b/demos/AVR/NIL-ARDUINOMEGA/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/demos/AVR/NIL-ARDUINOUNO/halconf.h b/demos/AVR/NIL-ARDUINOUNO/halconf.h index 88c58350a..074855e72 100644 --- a/demos/AVR/NIL-ARDUINOUNO/halconf.h +++ b/demos/AVR/NIL-ARDUINOUNO/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/demos/AVR/RT-ARDUINOMEGA/halconf.h b/demos/AVR/RT-ARDUINOMEGA/halconf.h index 88c58350a..074855e72 100644 --- a/demos/AVR/RT-ARDUINOMEGA/halconf.h +++ b/demos/AVR/RT-ARDUINOMEGA/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/demos/AVR/RT-ARDUINOUNO/halconf.h b/demos/AVR/RT-ARDUINOUNO/halconf.h index 88c58350a..074855e72 100644 --- a/demos/AVR/RT-ARDUINOUNO/halconf.h +++ b/demos/AVR/RT-ARDUINOUNO/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_ */
|