
16 Jun
2023
16 Jun
'23
11:02 a.m.
Hi,
On 5/31/23 08:01, Patrice Chotard wrote:
In case there is still chars from previous bootstage to transmit, wait for TC (Transmission Complete) bit to be set which ensure that the last data written in the USART_TDR has been transmitted out of the shift register.
Signed-off-by: Patrice Chotard patrice.chotard@foss.st.com
drivers/serial/serial_stm32.c | 15 +++++++++++++++ drivers/serial/serial_stm32.h | 1 + 2 files changed, 16 insertions(+)
Reviewed-by: Patrick Delaunay patrick.delaunay@foss.st.com
Thanks Patrick