diff options
author | Stephan Thiele <stephan.thiele@mailbox.org> | 2019-10-28 00:42:21 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-30 09:32:34 +0100 |
commit | 6d4dbc2b54cc01c5460b292db22c7a5396039932 (patch) | |
tree | 7b7a051e7aacded0a8c20801139c3d04439b492d /decoder/test/nes_gamepad | |
parent | 9623f312dae281ba6e980fabd766223c7e72815f (diff) | |
download | sigrok-test-6d4dbc2b54cc01c5460b292db22c7a5396039932.tar.gz sigrok-test-6d4dbc2b54cc01c5460b292db22c7a5396039932.zip |
nes_gamepad: add a test-case
Diffstat (limited to 'decoder/test/nes_gamepad')
-rw-r--r-- | decoder/test/nes_gamepad/nes_gamepad_generated_a.output | 1 | ||||
-rw-r--r-- | decoder/test/nes_gamepad/test.conf | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/decoder/test/nes_gamepad/nes_gamepad_generated_a.output b/decoder/test/nes_gamepad/nes_gamepad_generated_a.output new file mode 100644 index 0000000..e638786 --- /dev/null +++ b/decoder/test/nes_gamepad/nes_gamepad_generated_a.output @@ -0,0 +1 @@ +154-399 nes_gamepad: button: "A" diff --git a/decoder/test/nes_gamepad/test.conf b/decoder/test/nes_gamepad/test.conf new file mode 100644 index 0000000..fd3d050 --- /dev/null +++ b/decoder/test/nes_gamepad/test.conf @@ -0,0 +1,6 @@ +test nes_gamepad_generated_a + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/a.sr + output nes_gamepad annotation match nes_gamepad_generated_a.output |