summaryrefslogtreecommitdiff
path: root/decoder/test/uart/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-12-25 16:53:37 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2015-12-25 17:20:19 +0100
commitdd9648d4c3235317cb8b36c88448f5f14c738a6b (patch)
tree07556dc51cb963470b105048fb3aaae4dd9ddc9d /decoder/test/uart/test.conf
parent9af4a8d69e99dd0060f147f3662318f617ab02b3 (diff)
downloadsigrok-test-dd9648d4c3235317cb8b36c88448f5f14c738a6b.tar.gz
sigrok-test-dd9648d4c3235317cb8b36c88448f5f14c738a6b.zip
uart: Add more UART test-cases.
Diffstat (limited to 'decoder/test/uart/test.conf')
-rw-r--r--decoder/test/uart/test.conf90
1 files changed, 90 insertions, 0 deletions
diff --git a/decoder/test/uart/test.conf b/decoder/test/uart/test.conf
index 637795a..3fff470 100644
--- a/decoder/test/uart/test.conf
+++ b/decoder/test/uart/test.conf
@@ -8,6 +8,96 @@ test trekstor_ebr30_a
output uart binary class tx match trekstor_bin_tx.output
output uart binary class rxtx match trekstor_bin_rx.output
+test hello_world_7o1_115200
+ protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=odd option num_data_bits=7
+ input uart/hello_world/7o1/hello_world_7o1_115200.sr
+ output uart annotation match hello_world_7o1_115200.output
+ output uart binary class tx match hello_world_7o1_115200.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
+ input uart/hello_world/7e1/hello_world_7e1_115200.sr
+ output uart annotation match hello_world_7e1_115200.output
+ output uart binary class tx match hello_world_7e1_115200.bin_tx
+
+test hello_world_8e1_115200
+ protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=even
+ input uart/hello_world/8e1/hello_world_8e1_115200.sr
+ output uart annotation match hello_world_8e1_115200.output
+ output uart binary class tx match hello_world_8e1_115200.bin_tx
+
+test hello_world_8n1_1200
+ protocol-decoder uart channel tx=0 option baudrate=1200
+ input uart/hello_world/8n1/hello_world_8n1_1200.sr
+ output uart annotation match hello_world_8n1_1200.output
+ output uart binary class tx match hello_world_8n1_1200.bin_tx
+
+test hello_world_8n1_2400
+ protocol-decoder uart channel tx=0 option baudrate=2400
+ input uart/hello_world/8n1/hello_world_8n1_2400.sr
+ output uart annotation match hello_world_8n1_2400.output
+ output uart binary class tx match hello_world_8n1_2400.bin_tx
+
+test hello_world_8n1_4800
+ protocol-decoder uart channel tx=0 option baudrate=4800
+ input uart/hello_world/8n1/hello_world_8n1_4800.sr
+ output uart annotation match hello_world_8n1_4800.output
+ output uart binary class tx match hello_world_8n1_4800.bin_tx
+
+test hello_world_8n1_9600
+ protocol-decoder uart channel tx=0 option baudrate=9600
+ input uart/hello_world/8n1/hello_world_8n1_9600.sr
+ output uart annotation match hello_world_8n1_9600.output
+ output uart binary class tx match hello_world_8n1_9600.bin_tx
+
+test hello_world_8n1_19200
+ protocol-decoder uart channel tx=0 option baudrate=19200
+ input uart/hello_world/8n1/hello_world_8n1_19200.sr
+ output uart annotation match hello_world_8n1_19200.output
+ output uart binary class tx match hello_world_8n1_19200.bin_tx
+
+test hello_world_8n1_38400
+ protocol-decoder uart channel tx=0 option baudrate=38400
+ input uart/hello_world/8n1/hello_world_8n1_38400.sr
+ output uart annotation match hello_world_8n1_38400.output
+ output uart binary class tx match hello_world_8n1_38400.bin_tx
+
+test hello_world_8n1_57600
+ protocol-decoder uart channel tx=0 option baudrate=57600
+ input uart/hello_world/8n1/hello_world_8n1_57600.sr
+ output uart annotation match hello_world_8n1_57600.output
+ output uart binary class tx match hello_world_8n1_57600.bin_tx
+
+test hello_world_8n1_115200
+ protocol-decoder uart channel tx=0 option baudrate=115200
+ input uart/hello_world/8n1/hello_world_8n1_115200.sr
+ output uart annotation match hello_world_8n1_115200.output
+ output uart binary class tx match hello_world_8n1_115200.bin_tx
+
+test hello_world_8n1_230400
+ protocol-decoder uart channel tx=0 option baudrate=230400
+ input uart/hello_world/8n1/hello_world_8n1_230400.sr
+ output uart annotation match hello_world_8n1_230400.output
+ output uart binary class tx match hello_world_8n1_230400.bin_tx
+
+test hello_world_8n1_460800
+ protocol-decoder uart channel tx=0 option baudrate=460800
+ input uart/hello_world/8n1/hello_world_8n1_460800.sr
+ output uart annotation match hello_world_8n1_460800.output
+ output uart binary class tx match hello_world_8n1_460800.bin_tx
+
+test hello_world_8n1_921600
+ protocol-decoder uart channel tx=0 option baudrate=921600
+ input uart/hello_world/8n1/hello_world_8n1_921600.sr
+ output uart annotation match hello_world_8n1_921600.output
+ output uart binary class tx match hello_world_8n1_921600.bin_tx
+
+test hello_world_8o1_115200
+ protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=odd
+ input uart/hello_world/8o1/hello_world_8o1_115200.sr
+ output uart annotation match hello_world_8o1_115200.output
+ output uart binary class tx match hello_world_8o1_115200.bin_tx
+
test exception_samplerate
protocol-decoder uart
input misc/no-samplerate.sr