summaryrefslogtreecommitdiff
path: root/decoder/test/uart/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-11-29 23:44:35 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-11-29 23:44:35 +0100
commit65a994723a41ec089eba6af09138e41ac5fc81e3 (patch)
treee6cfdc924648fc872447590909040d3861c512d8 /decoder/test/uart/test.conf
parentdf94d61a456473eb5516571b5e73b723c24bb551 (diff)
downloadsigrok-test-65a994723a41ec089eba6af09138e41ac5fc81e3.tar.gz
sigrok-test-65a994723a41ec089eba6af09138e41ac5fc81e3.zip
uart: Add a test-case for parity_type=ignore.
Diffstat (limited to 'decoder/test/uart/test.conf')
-rw-r--r--decoder/test/uart/test.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/decoder/test/uart/test.conf b/decoder/test/uart/test.conf
index 383a891..3bd5eb3 100644
--- a/decoder/test/uart/test.conf
+++ b/decoder/test/uart/test.conf
@@ -24,6 +24,13 @@ test hello_world_7o1_115200_parity_err
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_7o1_115200_parity_ignore
+ protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=ignore 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_ignore.output
+ output uart python match hello_world_7o1_115200_parity_ignore.python
+ output uart binary class tx match hello_world_7o1_115200_parity_ignore.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