Skip to content
Commit f62bfca9 authored by Simon Piriou's avatar Simon Piriou Committed by Gregory Nutt
Browse files

Merged in spiriou/nuttx/stm32_lowputc (pull request #613)



arch/arm/src/stm32/lowputc: fix uart glitch when lowputc is enabled

Calling up_lowputc() when a character is in the shift register results
in corrupted character on stm32f1xx and stm32f205 cores.
TC status bit ensures that up_lowputc() waits for an on-going
transmission to complete before writing in TDR.

Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
parent a5e15530
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment