hw/char/stm32l4x5_usart: Enable serial read and write
commit87b77e6e01cad9a6cbdc3532a5bb3c674e34d089
authorArnaud Minier <arnaud.minier@telecom-paris.fr>
Fri, 29 Mar 2024 17:43:59 +0000 (29 18:43 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 25 Apr 2024 09:21:59 +0000 (25 10:21 +0100)
tree99387faac2ae8d257d39f0162a62c984535c1202
parent4fb37aea7e01679db44758eb9407d5a49e3dbd7a
hw/char/stm32l4x5_usart: Enable serial read and write

Implement the ability to read and write characters to the
usart using the serial port.

The character transmission is based on the
cmsdk-apb-uart implementation.

Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20240329174402.60382-3-arnaud.minier@telecom-paris.fr
[PMM: fixed a few checkpatch nits]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/stm32l4x5_usart.c
hw/char/trace-events
include/hw/char/stm32l4x5_usart.h