Page 2 of 2

Re: Serial Device Drivers buffer size

Posted: Tue Mar 28, 2017 3:56 pm
by Tabulous
Cool well i made the changes to USARTv1 its attached and can confirm it works ok as i needed it.

For others who may need it usage is

add defines as needed to mcuconf.h example below.

#define STM32_SERIAL_USART1_IN_BUF_SIZE 256
#define STM32_SERIAL_USART1_OUT_BUF_SIZE 64
#define STM32_SERIAL_USART2_IN_BUF_SIZE 2048
#define STM32_SERIAL_USART2_OUT_BUF_SIZE 256
#define STM32_SERIAL_USART6_IN_BUF_SIZE 16
#define STM32_SERIAL_USART6_OUT_BUF_SIZE 256