]> sigrok.org Git - sigrok-test.git/commitdiff
uart: Add another Grbl test-case.
authorUwe Hermann <redacted>
Fri, 13 Dec 2019 23:15:41 +0000 (00:15 +0100)
committerUwe Hermann <redacted>
Fri, 13 Dec 2019 23:15:41 +0000 (00:15 +0100)
decoder/test/uart/grbl_cnc_3_tx_packet.output [new file with mode: 0644]
decoder/test/uart/test.conf

diff --git a/decoder/test/uart/grbl_cnc_3_tx_packet.output b/decoder/test/uart/grbl_cnc_3_tx_packet.output
new file mode 100644 (file)
index 0000000..0e954e1
--- /dev/null
@@ -0,0 +1,7 @@
+163584-1964406 uart: tx-packet: "?????????G1 G90 Y150 F4600[0A]"
+1984281-6781686 uart: tx-packet: "??????????????????????G1 G90 Y50 F4700[0A]"
+6792822-11450169 uart: tx-packet: "??????????????????????G1 G90 Y150 F4700[0A]"
+11469777-16265455 uart: tx-packet: "??????????????????????G1 G90 Y50 F4800[0A]"
+16278046-21163794 uart: tx-packet: "??????????????????????G1 G90 Y150 F4800[0A]"
+21176216-26066196 uart: tx-packet: "??????????????????????G1 G90 Y50 F4900[0A]"
+26074033-30761083 uart: tx-packet: "??????????????????????G1 G90 Y150 F4900[0A]"
index e19c71f7e97b51d2984661fbd76f878d89d09ca4..71108b0df30f873faaad6fea75c1e87e47556622 100644 (file)
@@ -353,6 +353,11 @@ test grbl_cnc_2
        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 grbl_cnc_3
+       protocol-decoder uart channel tx=2 option format=ascii option tx_packet_delim=10
+       input stepper_motor/grbl_cnc/grbl_cnc_3.sr
+       output uart annotation class tx-packet match grbl_cnc_3_tx_packet.output
+
 test exception_samplerate
        protocol-decoder uart
        input misc/no-samplerate.sr