summaryrefslogtreecommitdiff
path: root/decoder/test/swd
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2017-06-06 00:09:45 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-06-06 01:43:44 +0200
commitb59c504ecda1693417932878a8c92bab80f9635c (patch)
tree4d8b32914a123d4590bf16216a16845b2c2c5e9c /decoder/test/swd
parent954e04d9f9f1d68644d7d8b4e5d13adfd05c1a3a (diff)
downloadsigrok-test-b59c504ecda1693417932878a8c92bab80f9635c.tar.gz
sigrok-test-b59c504ecda1693417932878a8c92bab80f9635c.zip
Add support for initial pin settings.
Adapt all tests that require it to use the old behaviour of assuming an initial pin value of 0 (or whatever was previously hardcoded in the PD). for now (this will likely see some changes later).
Diffstat (limited to 'decoder/test/swd')
-rw-r--r--decoder/test/swd/test.conf12
1 files changed, 6 insertions, 6 deletions
diff --git a/decoder/test/swd/test.conf b/decoder/test/swd/test.conf
index 95140bd..519a071 100644
--- a/decoder/test/swd/test.conf
+++ b/decoder/test/swd/test.conf
@@ -1,29 +1,29 @@
test ftdi_openocd_init_write_0xabbabeeb
- protocol-decoder swd channel swclk=0 channel swdio=1
+ protocol-decoder swd channel swclk=0 channel swdio=1 initial_pin swclk=0 initial_pin swdio=0
input swd/ftdi_openocd/init_write_0xabbabeeb.sr
output swd annotation match ftdi_openocd/init_write_0xabbabeeb.output
output swd python match ftdi_openocd/init_write_0xabbabeeb.python
test ftdi_openocd_init_noreply
- protocol-decoder swd channel swclk=0 channel swdio=1
+ protocol-decoder swd channel swclk=0 channel swdio=1 initial_pin swclk=0 initial_pin swdio=0
input swd/ftdi_openocd/init_noreply.sr
output swd annotation match ftdi_openocd/init_noreply.output
output swd python match ftdi_openocd/init_noreply.python
test ftdi_openocd_init_wait_fault
- protocol-decoder swd channel swclk=0 channel swdio=1
+ protocol-decoder swd channel swclk=0 channel swdio=1 initial_pin swclk=0 initial_pin swdio=0
input swd/ftdi_openocd/init_wait_fault.sr
output swd annotation match ftdi_openocd/init_wait_fault.output
output swd python match ftdi_openocd/init_wait_fault.python
test stlink_init_write_0xabbabeeb
- protocol-decoder swd channel swclk=0 channel swdio=1
+ protocol-decoder swd channel swclk=0 channel swdio=1 initial_pin swclk=0 initial_pin swdio=0
input swd/stlink_openocd/init_write_0xabbabeeb.sr
output swd annotation match stlink_openocd/init_write_0xabbabeeb.output
output swd python match stlink_openocd/init_write_0xabbabeeb.python
test stlink_wait_retry
- protocol-decoder swd channel swclk=0 channel swdio=1
+ protocol-decoder swd channel swclk=0 channel swdio=1 initial_pin swclk=0 initial_pin swdio=0
input swd/stlink_openocd/wait_retry.sr
output swd annotation match stlink_openocd/wait_retry.output
output swd python match stlink_openocd/wait_retry.python
@@ -31,7 +31,7 @@ test stlink_wait_retry
# With the strict_start option set, this capture doesn't include a LINERESET
# so output is empty.
test stlink_wait_retry
- protocol-decoder swd channel swclk=0 channel swdio=1 option strict_start=yes
+ protocol-decoder swd channel swclk=0 channel swdio=1 option strict_start=yes initial_pin swclk=0 initial_pin swdio=0
input swd/stlink_openocd/wait_retry.sr
output swd annotation match stlink_openocd/empty.output
output swd python match stlink_openocd/empty.python