From ab50521f7432a47a85dae89cd327ccb639e1ed93 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Sat, 1 Apr 2017 11:52:34 -0300 Subject: [PATCH 1/2] Testing new serial port buffer size for STM32F4 --- SerialSTM.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SerialSTM.cpp b/SerialSTM.cpp index b55a946..e69a805 100644 --- a/SerialSTM.cpp +++ b/SerialSTM.cpp @@ -38,8 +38,8 @@ UART5 - TXD PC12 - RXD PD2 (Discovery, Pi and Nucleo with Morpho header) #if defined(STM32F4XX) || defined(STM32F4) -#define TX_SERIAL_FIFO_SIZE 256U -#define RX_SERIAL_FIFO_SIZE 256U +#define TX_SERIAL_FIFO_SIZE 1024U +#define RX_SERIAL_FIFO_SIZE 1024U extern "C" { void USART1_IRQHandler(); From db1c01f4dc9c651e08a8706b8c6f958c1504a45e Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Sat, 1 Apr 2017 15:04:05 -0300 Subject: [PATCH 2/2] New serial port buffer size for STM32F4 --- SerialSTM.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SerialSTM.cpp b/SerialSTM.cpp index e69a805..8fdb127 100644 --- a/SerialSTM.cpp +++ b/SerialSTM.cpp @@ -38,8 +38,8 @@ UART5 - TXD PC12 - RXD PD2 (Discovery, Pi and Nucleo with Morpho header) #if defined(STM32F4XX) || defined(STM32F4) -#define TX_SERIAL_FIFO_SIZE 1024U -#define RX_SERIAL_FIFO_SIZE 1024U +#define TX_SERIAL_FIFO_SIZE 512U +#define RX_SERIAL_FIFO_SIZE 512U extern "C" { void USART1_IRQHandler();