diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-29 23:41:18 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-29 23:41:18 +0100 |
commit | df94d61a456473eb5516571b5e73b723c24bb551 (patch) | |
tree | 466e71c58f6f038472644c33218506d7e8e57231 /decoder/test/uart/test.conf | |
parent | 2375076956aef22a2769ab0ec91b9b89f9104232 (diff) | |
download | sigrok-test-df94d61a456473eb5516571b5e73b723c24bb551.tar.gz sigrok-test-df94d61a456473eb5516571b5e73b723c24bb551.zip |
uart: Add a test-case with intentional parity errors.
Diffstat (limited to 'decoder/test/uart/test.conf')
-rw-r--r-- | decoder/test/uart/test.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/decoder/test/uart/test.conf b/decoder/test/uart/test.conf index 21f1fac..383a891 100644 --- a/decoder/test/uart/test.conf +++ b/decoder/test/uart/test.conf @@ -16,6 +16,14 @@ test hello_world_7o1_115200 output uart python match hello_world_7o1_115200.python output uart binary class tx match hello_world_7o1_115200.bin_tx +# Intentionally cause parity errors. +test hello_world_7o1_115200_parity_err + protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=even option num_data_bits=7 option format=ascii + input uart/hello_world/7o1/hello_world_7o1_115200.sr + output uart annotation match hello_world_7o1_115200_parity_err.output + output uart python match hello_world_7o1_115200_parity_err.python + output uart binary class tx match hello_world_7o1_115200_parity_err.bin_tx + test hello_world_7e1_115200 protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=even option num_data_bits=7 option format=ascii input uart/hello_world/7e1/hello_world_7e1_115200.sr |