Add LPC1768

Dependencies:   mbed-rtos mbed Xbus

Fork of MTi-1_example by Xsens

Revision:
53:3891f4259901
Parent:
52:e2197b38c029
Child:
54:2e9bb1390c9c
diff -r e2197b38c029 -r 3891f4259901 main.cpp
--- a/main.cpp	Fri May 22 15:45:18 2015 +0200
+++ b/main.cpp	Fri May 22 16:20:04 2015 +0200
@@ -20,6 +20,11 @@
 #include "xsdeviceid.h"
 
 /*!
+ * \brief Baudrate used to communicate with host PC.
+ */
+#define PC_UART_BAUDRATE (921600)
+
+/*!
  * \brief The number of items to hold in the memory pools.
  */
 #define MEMORY_POOL_SIZE (4)
@@ -264,7 +269,7 @@
  */
 static void configureSerialPorts(void)
 {
-	pc.baud(921600);
+	pc.baud(PC_UART_BAUDRATE);
 	pc.format(8, Serial::None, 2);
 
 	mt.baud(115200);