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

Add UART Tests #8

Open
BlackstoneEngineering opened this issue Oct 20, 2016 · 4 comments
Open

Add UART Tests #8

BlackstoneEngineering opened this issue Oct 20, 2016 · 4 comments

Comments

@BlackstoneEngineering
Copy link
Contributor

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

@jeromecoutant
Copy link
Contributor

Hi
As tests don't use UART ARDUINO pin, I think you you remove the UART line in the "What is tested?" paragraph...

@BlackstoneEngineering
Copy link
Contributor Author

@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.

@jeromecoutant
Copy link
Contributor

Test framework doesn't communicate with the same UART as the one connected to ARDUINO pins...

@BlackstoneEngineering
Copy link
Contributor Author

Correct, but it does still validate that the board has a working UART capability. Its not optimal, but its good enough.

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

No branches or pull requests

2 participants