]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/uart/test.conf
uart: Add Grbl test-cases.
[sigrok-test.git] / decoder / test / uart / test.conf
index a0200a641410a79a6deba0bab3529f70941d31f6..e19c71f7e97b51d2984661fbd76f878d89d09ca4 100644 (file)
@@ -341,6 +341,18 @@ test max3232e_hello_world_57600_8n1
        output uart binary class rx match max3232e_hello_world_57600_8n1.bin_rx
        output uart binary class tx match max3232e_hello_world_57600_8n1.bin_tx
 
+test grbl_cnc_1
+       protocol-decoder uart channel rx=3 channel tx=2 option format=ascii option rx_packet_delim=10 option tx_packet_delim=10
+       input stepper_motor/grbl_cnc/grbl_cnc_1.sr
+       output uart annotation class tx-packet match grbl_cnc_1_tx_packet.output
+       output uart annotation class rx-packet match grbl_cnc_1_rx_packet.output
+
+test grbl_cnc_2
+       protocol-decoder uart channel rx=3 channel tx=2 option format=ascii option rx_packet_delim=10 option tx_packet_delim=10
+       input stepper_motor/grbl_cnc/grbl_cnc_2.sr
+       output uart annotation class tx-packet match grbl_cnc_2_tx_packet.output
+       output uart annotation class rx-packet match grbl_cnc_2_rx_packet.output
+
 test exception_samplerate
        protocol-decoder uart
        input misc/no-samplerate.sr