cbrake / linux-serial-test

Linux Serial Test Application
302 stars 154 forks source link

write-follows: write only after a read and follow the count #35

Closed laurierloi closed 3 years ago

laurierloi commented 3 years ago

Add option to run the test as write-follow, which makes the test write follow the count of the reads. It enables a loopback to be implemented across systems.

Our use case is to have a DUT running the standard rx/tx test. The test computer runs the rx/tx with --write-follow enabled. With it, we can do full-duplex test instead of only rx or tx.

We fixed the spacing in "usage" to fit the added length of the option.

cbrake commented 3 years ago

thanks for the contribution!