summaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-11-09 15:46:47 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-11-09 15:46:47 +0100
commitb2288129db28d095a01d8687d267cf1f184dfbfc (patch)
treedfcafe2e98810ef9a8d5914876772acfdb346362 /decoder
parenta79c93a2175498100709b027973f681ef88b1301 (diff)
downloadsigrok-test-b2288129db28d095a01d8687d267cf1f184dfbfc.tar.gz
sigrok-test-b2288129db28d095a01d8687d267cf1f184dfbfc.zip
eeprom93xx: Add OUTPUT_BINARY test-cases.
Diffstat (limited to 'decoder')
-rw-r--r--decoder/test/eeprom93xx/st_m93c66.bin_address4
-rw-r--r--decoder/test/eeprom93xx/st_m93c66.bin_data7
-rw-r--r--decoder/test/eeprom93xx/test.conf2
3 files changed, 13 insertions, 0 deletions
diff --git a/decoder/test/eeprom93xx/st_m93c66.bin_address b/decoder/test/eeprom93xx/st_m93c66.bin_address
new file mode 100644
index 0000000..5fb0e2d
--- /dev/null
+++ b/decoder/test/eeprom93xx/st_m93c66.bin_address
@@ -0,0 +1,4 @@
+2557-2671 eeprom93xx: 00
+3329-3443 eeprom93xx: 00
+5281-5394 eeprom93xx: 00
+17159-17273 eeprom93xx: 00
diff --git a/decoder/test/eeprom93xx/st_m93c66.bin_data b/decoder/test/eeprom93xx/st_m93c66.bin_data
new file mode 100644
index 0000000..1a920a6
--- /dev/null
+++ b/decoder/test/eeprom93xx/st_m93c66.bin_data
@@ -0,0 +1,7 @@
+2671-2908 eeprom93xx: 42 42
+3443-3678 eeprom93xx: 42 42
+3678-3913 eeprom93xx: 42 42
+3913-4148 eeprom93xx: 42 42
+4148-4385 eeprom93xx: 42 42
+17273-17492 eeprom93xx: 42 42
+28892-29112 eeprom93xx: 42 42
diff --git a/decoder/test/eeprom93xx/test.conf b/decoder/test/eeprom93xx/test.conf
index 955f694..0dc8d58 100644
--- a/decoder/test/eeprom93xx/test.conf
+++ b/decoder/test/eeprom93xx/test.conf
@@ -4,6 +4,8 @@ test st_m93c66
stack microwire eeprom93xx
input microwire/st_m93c66/st_m93c66.sr
output eeprom93xx annotation match st_m93c66.output
+ output eeprom93xx binary class address match st_m93c66.bin_address
+ output eeprom93xx binary class data match st_m93c66.bin_data
test st_m93c66_ascii
protocol-decoder microwire channel cs=1 channel sk=3 channel si=4 channel so=5