]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/eeprom24xx/test.conf
eeprom24xx: Add some test-cases.
[sigrok-test.git] / decoder / test / eeprom24xx / test.conf
diff --git a/decoder/test/eeprom24xx/test.conf b/decoder/test/eeprom24xx/test.conf
new file mode 100644 (file)
index 0000000..f1b13aa
--- /dev/null
@@ -0,0 +1,27 @@
+test lcsoft-mini-board-fx2-init
+       protocol-decoder i2c channel scl=1 channel sda=0
+       protocol-decoder eeprom24xx
+       stack i2c eeprom24xx
+       input i2c/eeprom_24xx/atmel_at24c128/lcsoft-mini-board-fx2-init.sr
+       output eeprom24xx annotation match lcsoft-mini-board-fx2-init.output
+
+test amfpga-cpld-board-fx2-init
+       protocol-decoder i2c channel scl=0 channel sda=1
+       protocol-decoder eeprom24xx
+       stack i2c eeprom24xx
+       input i2c/eeprom_24xx/microchip_24lc64/amfpga-cpld-board-fx2-init.sr
+       output eeprom24xx annotation match amfpga-cpld-board-fx2-init.output
+
+test sla24c02-s-3_powerup
+       protocol-decoder i2c channel scl=5 channel sda=4
+       protocol-decoder eeprom24xx
+       stack i2c eeprom24xx
+       input i2c/eeprom_24xx/siemens_sla24c02-s-3/sla24c02-s-3_powerup.sr
+       output eeprom24xx annotation match sla24c02-s-3_powerup.output
+
+test st_m24c02_powerup_and_reset
+       protocol-decoder i2c channel scl=5 channel sda=4
+       protocol-decoder eeprom24xx
+       stack i2c eeprom24xx
+       input i2c/eeprom_24xx/st_m24c02/st_m24c02_powerup_and_reset.sr
+       output eeprom24xx annotation match st_m24c02_powerup_and_reset.output