RIOT-OS / RobotFW-tests

Includes tests for RIOT based on the Robot Framework
GNU Lesser General Public License v2.1
4 stars 13 forks source link

tests/uart: improve robustness of uart tests #14

Closed MrKevinWeiss closed 5 years ago

MrKevinWeiss commented 5 years ago

This commit switches philip initialization to the start which prevents philip init from providing unwanted bytes to the dut. It also clears the dut buffer by discarding a junk message. This greatly improves reliability.

Run through tests with master and with this PR (on the samr21 or nucleo-l073) a few times to ensure initial byte errors are corrected.