-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add UART Tests #8
Comments
Hi |
@jeromecoutant The UART is still testsed implicitly by running the tests, as the test framework communicates using the UART channel connected to the interface circuit. |
Test framework doesn't communicate with the same UART as the one connected to ARDUINO pins... |
Correct, but it does still validate that the board has a working UART capability. Its not optimal, but its good enough. |
Problem
UART Tests cannot be done by Loopback on D0/D1 because some boards (Nucleo / nRF / etc) only have a single UART and use the same peripheral for the Serial Debug lines used by greentea. Thus is these pins are tied together greentea cannot run.
Therefore the UART tests should be redone to use the Serial Debug channel instead of UART Loopbacks.
Solution
Currently not possible
In the future a change should be made to GreenTea that allows for taking control of the serial line and then handing it back. See here : ARMmbed/greentea#196
The text was updated successfully, but these errors were encountered: