From: Uwe Hermann Date: Sat, 9 Nov 2019 14:46:47 +0000 (+0100) Subject: eeprom93xx: Add OUTPUT_BINARY test-cases. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b2288129db28d095a01d8687d267cf1f184dfbfc;p=sigrok-test.git eeprom93xx: Add OUTPUT_BINARY test-cases. --- 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