From 4aa5888ef4f3d4bc3d72093c6df2eb30e292004b Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 10 Apr 2020 18:16:40 +0200 Subject: adxl345: Add some test-cases. --- decoder/test/adxl345/test.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 decoder/test/adxl345/test.conf (limited to 'decoder/test/adxl345/test.conf') diff --git a/decoder/test/adxl345/test.conf b/decoder/test/adxl345/test.conf new file mode 100644 index 0000000..393f897 --- /dev/null +++ b/decoder/test/adxl345/test.conf @@ -0,0 +1,13 @@ +test adxl345_axis + protocol-decoder spi channel clk=0 channel mosi=1 channel miso=2 channel cs=3 + protocol-decoder adxl345 + stack spi adxl345 + input spi/adxl345/adxl345_axis.sr + output adxl345 annotation match adxl345_axis.output + +test adxl345_registers + protocol-decoder spi channel clk=0 channel mosi=1 channel miso=2 channel cs=3 + protocol-decoder adxl345 + stack spi adxl345 + input spi/adxl345/adxl345_registers.sr + output adxl345 annotation match adxl345_registers.output -- cgit v1.2.3-54-g00ecf