lpcmanager

Parents 83c54466c341
Children 8448e1c42556
Default UART buffer is now short and baudrate is 19200. Modules that use short uart buffer should not have buffer size and baudrate redefined in xml module description file. This is necessary for compatibility with MC8.
--- a/LPCBus/MC9_Devices_decl.c Wed Nov 09 10:14:42 2016 +0100
+++ b/LPCBus/MC9_Devices_decl.c Fri Nov 11 13:35:34 2016 +0100
@@ -225,8 +225,8 @@
#define UART_BUFSIZE_LONG 48 /* UART bus read & write buffer size - long buffer for LHC-2 */
#define UART_RETRY_NUM 10
-char uartBufSize = UART_BUFSIZE_LONG; /* Smarteh uart bus: buffer size */
-unsigned long uartBaudrate = 115200; /* Smarteh uart bus: baudrate */
+char uartBufSize = UART_BUFSIZE_SHORT; /* Smarteh uart bus: buffer size */
+unsigned long uartBaudrate = 19200; /* Smarteh uart bus: baudrate */
/* Tables containing information about connected devices on UART port
(initialized by Composer) */