-
Notifications
You must be signed in to change notification settings - Fork 588
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
testing: Add Serial Error Reporting testing app #2989
Conversation
90e0f26
to
7ce3b4a
Compare
Should this also have some documentation for users? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @acassis :-) Could you please provide some short log of how it runs.. maybe a documentation too in a free moment? :-)
I will add a board config with explanation. Since this ioctl() is standard on Linux and POSIX it is very simple to use. |
This commit adds support to Serial Error Reporting using the ioctl TIOCGICOUNT. This examples was inspired on this sample code: https://stackoverflow.com/questions/78796301/c-serial-communication-why-does-read-lose-some-data-bytes-at-high-baud-rates/78800245#78800245 Signed-off-by: Alan C. Assis <[email protected]>
Summary
This commit adds support to Serial Error Reporting using the ioctl TIOCGICOUNT.
Impact
This testing application is used to display the errors reported by U[S]ART driver.
Testing
STM32F4Discovery