From b69e573f485a8460701692511f193bab008ae188 Mon Sep 17 00:00:00 2001
From: Gerhard Sittig <gerhard.sittig@gmx.net>
Date: Sat, 4 Jan 2020 16:00:02 +0100
Subject: dmx512: adjust test.conf, stack dmx512 on top of uart

This commit adjusts the test configuration, but does not update the test
expectation. This remains for another commit.
---
 decoder/test/dmx512/test.conf | 40 ++++++++++++++++++++++++++++++----------
 1 file changed, 30 insertions(+), 10 deletions(-)

(limited to 'decoder/test')

diff --git a/decoder/test/dmx512/test.conf b/decoder/test/dmx512/test.conf
index 27aa552..83c1297 100644
--- a/decoder/test/dmx512/test.conf
+++ b/decoder/test/dmx512/test.conf
@@ -1,49 +1,69 @@
 test 12mhz_all_255
-	protocol-decoder dmx512 channel dmx=0
+	protocol-decoder uart channel rx=0 option baudrate=250000
+	protocol-decoder dmx512
+	stack uart dmx512
 	input dmx512/dmx4all_mini_usb_dmx/12mhz_all_255.sr
 	output dmx512 annotation match 12mhz_all_255.output
 
 test 12mhz_all_85
-	protocol-decoder dmx512 channel dmx=0
+	protocol-decoder uart channel rx=0 option baudrate=250000
+	protocol-decoder dmx512
+	stack uart dmx512
 	input dmx512/dmx4all_mini_usb_dmx/12mhz_all_85.sr
 	output dmx512 annotation match 12mhz_all_85.output
 
 test 1mhz_all_255
-	protocol-decoder dmx512 channel dmx=0
+	protocol-decoder uart channel rx=0 option baudrate=250000
+	protocol-decoder dmx512
+	stack uart dmx512
 	input dmx512/dmx4all_mini_usb_dmx/1mhz_all_255.sr
 	output dmx512 annotation match 1mhz_all_255.output
 
 test 1mhz_all_85
-	protocol-decoder dmx512 channel dmx=0
+	protocol-decoder uart channel rx=0 option baudrate=250000
+	protocol-decoder dmx512
+	stack uart dmx512
 	input dmx512/dmx4all_mini_usb_dmx/1mhz_all_85.sr
 	output dmx512 annotation match 1mhz_all_85.output
 
 test 3mhz_all_255
-	protocol-decoder dmx512 channel dmx=0
+	protocol-decoder uart channel rx=0 option baudrate=250000
+	protocol-decoder dmx512
+	stack uart dmx512
 	input dmx512/dmx4all_mini_usb_dmx/3mhz_all_255.sr
 	output dmx512 annotation match 3mhz_all_255.output
 
 test 3mhz_all_85
-	protocol-decoder dmx512 channel dmx=0
+	protocol-decoder uart channel rx=0 option baudrate=250000
+	protocol-decoder dmx512
+	stack uart dmx512
 	input dmx512/dmx4all_mini_usb_dmx/3mhz_all_85.sr
 	output dmx512 annotation match 3mhz_all_85.output
 
 test 500khz_all_255
-	protocol-decoder dmx512 channel dmx=0
+	protocol-decoder uart channel rx=0 option baudrate=250000
+	protocol-decoder dmx512
+	stack uart dmx512
 	input dmx512/dmx4all_mini_usb_dmx/500khz_all_255.sr
 	output dmx512 annotation match 500khz_all_255.output
 
 test 500khz_all_85
-	protocol-decoder dmx512 channel dmx=0
+	protocol-decoder uart channel rx=0 option baudrate=250000
+	protocol-decoder dmx512
+	stack uart dmx512
 	input dmx512/dmx4all_mini_usb_dmx/500khz_all_85.sr
 	output dmx512 annotation match 500khz_all_85.output
 
 test 6mhz_all_255
-	protocol-decoder dmx512 channel dmx=0
+	protocol-decoder uart channel rx=0 option baudrate=250000
+	protocol-decoder dmx512
+	stack uart dmx512
 	input dmx512/dmx4all_mini_usb_dmx/6mhz_all_255.sr
 	output dmx512 annotation match 6mhz_all_255.output
 
 test 6mhz_all_85
-	protocol-decoder dmx512 channel dmx=0
+	protocol-decoder uart channel rx=0 option baudrate=250000
+	protocol-decoder dmx512
+	stack uart dmx512
 	input dmx512/dmx4all_mini_usb_dmx/6mhz_all_85.sr
 	output dmx512 annotation match 6mhz_all_85.output
-- 
cgit v1.2.3-70-g09d2