From: Uwe Hermann Date: Fri, 13 Dec 2019 23:15:41 +0000 (+0100) Subject: uart: Add another Grbl test-case. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b5a39370cde7486b80e76d4e6372cbbcadc94067;p=sigrok-test.git uart: Add another Grbl test-case. --- 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 index 0000000..0e954e1 --- /dev/null +++ b/decoder/test/uart/grbl_cnc_3_tx_packet.output @@ -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]" diff --git a/decoder/test/uart/test.conf b/decoder/test/uart/test.conf index e19c71f..71108b0 100644 --- a/decoder/test/uart/test.conf +++ b/decoder/test/uart/test.conf @@ -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