Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers/serial: Echo CR when NL is detected and the serial device is a console #8718

Merged
merged 1 commit into from
Mar 5, 2023

Conversation

tmedicci
Copy link
Contributor

@tmedicci tmedicci commented Mar 4, 2023

Summary

Echo CR when NL is detected and the serial device is a console and fix #8691 (comment)

Impact

The serial driver now performs the echoing console's input (#8691). In order to keep the old behavior of CR being echoed by the device, it's necessary to detect whenever NL is being echoed and send CR before sending it.

Testing

Internal CI, NuttX's CI and test on ESP32-DevKitC.

Echoing console's input is now performed by the serial driver
(apache#8691). In order to keep old
behavior of CR being echoed by the device, it's needed to detected
whenever NL is being echoed and send CR before sending it.
@xiaoxiang781216 xiaoxiang781216 merged commit a3badd2 into apache:master Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants