aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/serial.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-01-02 10:00:15 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-01-02 10:00:15 +0000
commit7d7af240fb9c9f22fc5f2359752385faba4f94c1 (patch)
tree145b1a13a43f50b4b1ecb10d1654cb35b193d174 /os/hal/include/serial.h
parent307e9891e40e46b08cd15690da8fff1657172915 (diff)
downloadChibiOS-7d7af240fb9c9f22fc5f2359752385faba4f94c1.tar.gz
ChibiOS-7d7af240fb9c9f22fc5f2359752385faba4f94c1.tar.bz2
ChibiOS-7d7af240fb9c9f22fc5f2359752385faba4f94c1.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1487 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/serial.h')
-rw-r--r--os/hal/include/serial.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/os/hal/include/serial.h b/os/hal/include/serial.h
index 9a2c8ec78..f6b54bb5d 100644
--- a/os/hal/include/serial.h
+++ b/os/hal/include/serial.h
@@ -55,13 +55,22 @@
/*===========================================================================*/
/**
+ * @brief Default bit rate.
+ * @details Configuration parameter, this is the baud rate selected for the
+ * default configuration.
+ */
+#if !defined(DEFAULT_USART_BITRATE) || defined(__DOXYGEN__)
+#define SERIAL_DEFAULT_BITRATE 38400
+#endif
+
+/**
* @brief Serial buffers size.
* @details Configuration parameter, you can change the depth of the queue
* buffers depending on the requirements of your application.
* @note The default is 64 bytes for both the transmission and receive buffers.
*/
#if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__)
-#define SERIAL_BUFFERS_SIZE 128
+#define SERIAL_BUFFERS_SIZE 64
#endif
/*===========================================================================*/