From 09544d5f5f3e6ac9387e7b99712c7b00ee319d18 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 13 Dec 2019 12:15:39 +0100 Subject: uart: Add Grbl test-cases. --- decoder/test/uart/test.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'decoder/test/uart/test.conf') diff --git a/decoder/test/uart/test.conf b/decoder/test/uart/test.conf index a0200a6..e19c71f 100644 --- a/decoder/test/uart/test.conf +++ b/decoder/test/uart/test.conf @@ -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 -- cgit v1.2.3-54-g00ecf