summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2014-03-10 00:43:27 +0100
committerBert Vermeulen <bert@biot.com>2014-03-10 00:47:30 +0100
commit780770f1295b7fdeb4481eb42623bad5da1e19a7 (patch)
tree4aeece8c26068123d5c4913cad00c3cb6d8a73b0 /decoders
parent84c1c0b52820af2418186ac3ecf93a5c6373a22e (diff)
downloadlibsigrokdecode-780770f1295b7fdeb4481eb42623bad5da1e19a7.tar.gz
libsigrokdecode-780770f1295b7fdeb4481eb42623bad5da1e19a7.zip
Remove unused probes and options
Diffstat (limited to 'decoders')
-rw-r--r--decoders/avr_isp/pd.py2
-rw-r--r--decoders/can/pd.py1
-rw-r--r--decoders/dcf77/pd.py2
-rw-r--r--decoders/ds1307/pd.py3
-rw-r--r--decoders/edid/pd.py3
-rw-r--r--decoders/guess_bitrate/pd.py2
-rw-r--r--decoders/i2c/pd.py1
-rw-r--r--decoders/i2cdemux/pd.py3
-rw-r--r--decoders/i2cfilter/pd.py2
-rw-r--r--decoders/i2s/pd.py2
-rw-r--r--decoders/jtag/pd.py1
-rw-r--r--decoders/jtag_stm32/pd.py3
-rw-r--r--decoders/lm75/pd.py1
-rw-r--r--decoders/lpc/pd.py1
-rw-r--r--decoders/maxim_ds28ea00/pd.py2
-rw-r--r--decoders/midi/pd.py3
-rw-r--r--decoders/mlx90614/pd.py3
-rw-r--r--decoders/mx25lxx05d/pd.py2
-rw-r--r--decoders/mxc6225xu/pd.py2
-rw-r--r--decoders/nunchuk/pd.py3
-rw-r--r--decoders/onewire_network/pd.py3
-rw-r--r--decoders/pan1321/pd.py3
-rw-r--r--decoders/parallel/pd.py1
-rw-r--r--decoders/rgb_led_spi/pd.py3
-rw-r--r--decoders/rtc8564/pd.py2
-rw-r--r--decoders/sdcard_spi/pd.py3
-rw-r--r--decoders/tlc5620/pd.py1
-rw-r--r--decoders/uart/pd.py1
-rw-r--r--decoders/usb_packet/pd.py2
-rw-r--r--decoders/usb_signalling/pd.py1
-rw-r--r--decoders/xfp/pd.py3
-rw-r--r--decoders/z80/pd.py1
32 files changed, 0 insertions, 66 deletions
diff --git a/decoders/avr_isp/pd.py b/decoders/avr_isp/pd.py
index 809cf44..8f3e128 100644
--- a/decoders/avr_isp/pd.py
+++ b/decoders/avr_isp/pd.py
@@ -32,11 +32,9 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['spi', 'logic']
outputs = ['avr_isp']
- probes = []
optional_probes = [
{'id': 'reset', 'name': 'RESET#', 'desc': 'Target AVR MCU reset'},
]
- options = {}
annotations = [
['pe', 'Programming enable'],
['rsb0', 'Read signature byte 0'],
diff --git a/decoders/can/pd.py b/decoders/can/pd.py
index e2b55fa..ff60a90 100644
--- a/decoders/can/pd.py
+++ b/decoders/can/pd.py
@@ -32,7 +32,6 @@ class Decoder(srd.Decoder):
probes = [
{'id': 'can_rx', 'name': 'CAN RX', 'desc': 'CAN bus line'},
]
- optional_probes = []
options = (
{'id': 'bitrate', 'desc': 'Bitrate', 'default': 1000000}, # 1Mbit/s
{'id': 'sample_point', 'desc': 'Sample point', 'default': 70}, # 70%
diff --git a/decoders/dcf77/pd.py b/decoders/dcf77/pd.py
index 21da4f6..94f5d2c 100644
--- a/decoders/dcf77/pd.py
+++ b/decoders/dcf77/pd.py
@@ -37,8 +37,6 @@ class Decoder(srd.Decoder):
probes = [
{'id': 'data', 'name': 'DATA', 'desc': 'DATA line'},
]
- optional_probes = []
- options = {}
annotations = [
['start-of-minute', 'Start of minute'],
['special-bits', 'Special bits (civil warnings, weather forecast)'],
diff --git a/decoders/ds1307/pd.py b/decoders/ds1307/pd.py
index 97431e0..6c36f04 100644
--- a/decoders/ds1307/pd.py
+++ b/decoders/ds1307/pd.py
@@ -44,9 +44,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['i2c']
outputs = ['ds1307']
- probes = []
- optional_probes = []
- options = {}
annotations = [
['text', 'Human-readable text'],
]
diff --git a/decoders/edid/pd.py b/decoders/edid/pd.py
index adeb6ae..f27cf93 100644
--- a/decoders/edid/pd.py
+++ b/decoders/edid/pd.py
@@ -81,9 +81,6 @@ class Decoder(srd.Decoder):
license = 'gplv3+'
inputs = ['i2c']
outputs = ['edid']
- probes = []
- optional_probes = []
- options = {}
annotations = [
['fields', 'EDID structure fields'],
['sections', 'EDID structure sections'],
diff --git a/decoders/guess_bitrate/pd.py b/decoders/guess_bitrate/pd.py
index b88a897..8d28444 100644
--- a/decoders/guess_bitrate/pd.py
+++ b/decoders/guess_bitrate/pd.py
@@ -32,8 +32,6 @@ class Decoder(srd.Decoder):
probes = [
{'id': 'data', 'name': 'Data', 'desc': 'Data line'},
]
- optional_probes = []
- options = {}
annotations = [
['bitrate', 'Bitrate / baudrate'],
]
diff --git a/decoders/i2c/pd.py b/decoders/i2c/pd.py
index 9cbdd53..97614ae 100644
--- a/decoders/i2c/pd.py
+++ b/decoders/i2c/pd.py
@@ -76,7 +76,6 @@ class Decoder(srd.Decoder):
{'id': 'scl', 'name': 'SCL', 'desc': 'Serial clock line'},
{'id': 'sda', 'name': 'SDA', 'desc': 'Serial data line'},
]
- optional_probes = []
options = (
{'id': 'address_format', 'desc': 'Displayed slave address format',
'default': 'shifted', 'values': ('shifted', 'unshifted')},
diff --git a/decoders/i2cdemux/pd.py b/decoders/i2cdemux/pd.py
index 12ebb88..dd773b5 100644
--- a/decoders/i2cdemux/pd.py
+++ b/decoders/i2cdemux/pd.py
@@ -29,9 +29,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['i2c']
outputs = [] # TODO: Only known at run-time.
- probes = []
- optional_probes = []
- options = {}
annotations = []
def __init__(self, **kwargs):
diff --git a/decoders/i2cfilter/pd.py b/decoders/i2cfilter/pd.py
index 91269c0..9156803 100644
--- a/decoders/i2cfilter/pd.py
+++ b/decoders/i2cfilter/pd.py
@@ -31,8 +31,6 @@ class Decoder(srd.Decoder):
license = 'gplv3+'
inputs = ['i2c']
outputs = ['i2c']
- probes = []
- optional_probes = []
options = (
{'id': 'address', 'desc': 'Address to filter out of the I²C stream',
'default': 0},
diff --git a/decoders/i2s/pd.py b/decoders/i2s/pd.py
index 73bfa6f..1d1a7a4 100644
--- a/decoders/i2s/pd.py
+++ b/decoders/i2s/pd.py
@@ -47,8 +47,6 @@ class Decoder(srd.Decoder):
{'id': 'ws', 'name': 'WS', 'desc': 'Word select line'},
{'id': 'sd', 'name': 'SD', 'desc': 'Serial data line'},
]
- optional_probes = []
- options = {}
annotations = [
['left', 'Left channel'],
['right', 'Right channel'],
diff --git a/decoders/jtag/pd.py b/decoders/jtag/pd.py
index 8eb81c0..0bb4069 100644
--- a/decoders/jtag/pd.py
+++ b/decoders/jtag/pd.py
@@ -73,7 +73,6 @@ class Decoder(srd.Decoder):
{'id': 'srst', 'name': 'SRST#', 'desc': 'System reset'},
{'id': 'rtck', 'name': 'RTCK', 'desc': 'Return clock signal'},
]
- options = {}
annotations = [[s.lower(), s] for s in jtag_states]
def __init__(self, **kwargs):
diff --git a/decoders/jtag_stm32/pd.py b/decoders/jtag_stm32/pd.py
index 7d6a71d..cc298d6 100644
--- a/decoders/jtag_stm32/pd.py
+++ b/decoders/jtag_stm32/pd.py
@@ -127,9 +127,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['jtag']
outputs = ['jtag_stm32']
- probes = []
- optional_probes = []
- options = {}
annotations = [
['text', 'Human-readable text'],
]
diff --git a/decoders/lm75/pd.py b/decoders/lm75/pd.py
index 84cc26a..c492c4b 100644
--- a/decoders/lm75/pd.py
+++ b/decoders/lm75/pd.py
@@ -48,7 +48,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['i2c']
outputs = ['lm75']
- probes = []
optional_probes = [
{'id': 'os', 'name': 'OS', 'desc': 'Overtemperature shutdown'},
{'id': 'a0', 'name': 'A0', 'desc': 'I²C slave address input 0'},
diff --git a/decoders/lpc/pd.py b/decoders/lpc/pd.py
index 7153110..ef782e0 100644
--- a/decoders/lpc/pd.py
+++ b/decoders/lpc/pd.py
@@ -121,7 +121,6 @@ class Decoder(srd.Decoder):
{'id': 'lpcpd', 'name': 'LPCPD#', 'desc': 'Power down'},
{'id': 'lsmi', 'name': 'LSMI#', 'desc': 'System Management Interrupt'},
]
- options = {}
annotations = [
['warnings', 'Warnings'],
['start', 'Start'],
diff --git a/decoders/maxim_ds28ea00/pd.py b/decoders/maxim_ds28ea00/pd.py
index 6e1125a..312475e 100644
--- a/decoders/maxim_ds28ea00/pd.py
+++ b/decoders/maxim_ds28ea00/pd.py
@@ -44,14 +44,12 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['onewire_network']
outputs = ['maxim_ds28ea00']
- probes = []
optional_probes = [
{'id': 'pioa', 'name': 'PIOA/DONE#',
'desc': 'PIOA channel and chain output'},
{'id': 'piob', 'name': 'PIOB/EN#',
'desc': 'PIOB channel and chain output'},
]
- options = {}
annotations = [
['text', 'Human-readable text'],
]
diff --git a/decoders/midi/pd.py b/decoders/midi/pd.py
index b20dcc3..b6cbd60 100644
--- a/decoders/midi/pd.py
+++ b/decoders/midi/pd.py
@@ -33,9 +33,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['uart']
outputs = ['midi']
- probes = []
- optional_probes = []
- options = {}
annotations = [
['text-verbose', 'Human-readable text (verbose)'],
]
diff --git a/decoders/mlx90614/pd.py b/decoders/mlx90614/pd.py
index 14451c8..aa63458 100644
--- a/decoders/mlx90614/pd.py
+++ b/decoders/mlx90614/pd.py
@@ -29,9 +29,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['i2c']
outputs = ['mlx90614']
- probes = []
- optional_probes = []
- options = {}
annotations = [
['celsius', 'Temperature in degrees Celsius'],
['kelvin', 'Temperature in Kelvin'],
diff --git a/decoders/mx25lxx05d/pd.py b/decoders/mx25lxx05d/pd.py
index 76319db..c7dbd20 100644
--- a/decoders/mx25lxx05d/pd.py
+++ b/decoders/mx25lxx05d/pd.py
@@ -91,12 +91,10 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['spi', 'logic']
outputs = ['mx25lxx05d']
- probes = []
optional_probes = [
{'id': 'hold', 'name': 'HOLD#', 'desc': 'Pause device w/o deselecting it'},
{'id': 'wp_acc', 'name': 'WP#/ACC', 'desc': 'Write protect'},
]
- options = {}
annotations = cmd_annotation_classes() + [
['bits', 'Bits'],
['bits2', 'Bits2'],
diff --git a/decoders/mxc6225xu/pd.py b/decoders/mxc6225xu/pd.py
index 46c6c09..c236070 100644
--- a/decoders/mxc6225xu/pd.py
+++ b/decoders/mxc6225xu/pd.py
@@ -68,11 +68,9 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['i2c']
outputs = ['mxc6225xu']
- probes = []
optional_probes = [
{'id': 'int', 'name': 'INT', 'desc': 'DTOS interrupt output pin'},
]
- options = {}
annotations = [
['text', 'Human-readable text'],
]
diff --git a/decoders/nunchuk/pd.py b/decoders/nunchuk/pd.py
index d4fe34a..5fd01d2 100644
--- a/decoders/nunchuk/pd.py
+++ b/decoders/nunchuk/pd.py
@@ -29,9 +29,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['i2c']
outputs = ['nunchuck']
- probes = []
- optional_probes = []
- options = {}
annotations = [
['text-verbose', 'Human-readable text (verbose)'],
['text', 'Human-readable text'],
diff --git a/decoders/onewire_network/pd.py b/decoders/onewire_network/pd.py
index a80132e..3064481 100644
--- a/decoders/onewire_network/pd.py
+++ b/decoders/onewire_network/pd.py
@@ -41,9 +41,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['onewire_link']
outputs = ['onewire_network']
- probes = []
- optional_probes = []
- options = {}
annotations = [
['text', 'Human-readable text'],
]
diff --git a/decoders/pan1321/pd.py b/decoders/pan1321/pd.py
index f345506..e7ccd60 100644
--- a/decoders/pan1321/pd.py
+++ b/decoders/pan1321/pd.py
@@ -33,9 +33,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['uart']
outputs = ['pan1321']
- probes = []
- optional_probes = []
- options = {}
annotations = [
['text-verbose', 'Human-readable text (verbose)'],
['text', 'Human-readable text'],
diff --git a/decoders/parallel/pd.py b/decoders/parallel/pd.py
index 8f2176c..43c5d54 100644
--- a/decoders/parallel/pd.py
+++ b/decoders/parallel/pd.py
@@ -70,7 +70,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['logic']
outputs = ['parallel']
- probes = []
optional_probes = probe_list(8)
options = (
{'id': 'clock_edge', 'desc': 'Clock edge to sample on',
diff --git a/decoders/rgb_led_spi/pd.py b/decoders/rgb_led_spi/pd.py
index b5f61b8..1c61122 100644
--- a/decoders/rgb_led_spi/pd.py
+++ b/decoders/rgb_led_spi/pd.py
@@ -29,9 +29,6 @@ class Decoder(srd.Decoder):
license = 'gplv2'
inputs = ['spi']
outputs = ['rgb_led_spi']
- probes = []
- optional_probes = []
- options = {}
annotations = [
['rgb', 'RGB values'],
]
diff --git a/decoders/rtc8564/pd.py b/decoders/rtc8564/pd.py
index 8a2fbf9..6108c26 100644
--- a/decoders/rtc8564/pd.py
+++ b/decoders/rtc8564/pd.py
@@ -33,13 +33,11 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['i2c']
outputs = ['rtc8564']
- probes = []
optional_probes = [
{'id': 'clkout', 'name': 'CLKOUT', 'desc': 'Clock output'},
{'id': 'clkoe', 'name': 'CLKOE', 'desc': 'Clock output enable'},
{'id': 'int', 'name': 'INT#', 'desc': 'Interrupt'},
]
- options = {}
annotations = \
[['reg-0x%02x' % i, 'Register 0x%02x' % i] for i in range(8 + 1)] + [
['read', 'Read date/time'],
diff --git a/decoders/sdcard_spi/pd.py b/decoders/sdcard_spi/pd.py
index 3c25f18..c61c8c2 100644
--- a/decoders/sdcard_spi/pd.py
+++ b/decoders/sdcard_spi/pd.py
@@ -78,9 +78,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['spi']
outputs = ['sdcard_spi']
- probes = []
- optional_probes = []
- options = {}
annotations = \
[['cmd%d' % i, 'CMD%d' % i] for i in range(63 + 1)] + [
['cmd-desc', 'Command description'],
diff --git a/decoders/tlc5620/pd.py b/decoders/tlc5620/pd.py
index 4097c45..b9a5223 100644
--- a/decoders/tlc5620/pd.py
+++ b/decoders/tlc5620/pd.py
@@ -44,7 +44,6 @@ class Decoder(srd.Decoder):
{'id': 'load', 'name': 'LOAD', 'desc': 'Serial interface load control'},
{'id': 'ldac', 'name': 'LDAC', 'desc': 'Load DAC'},
]
- options = {}
annotations = [
['dac-select', 'DAC select'],
['gain', 'Gain'],
diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py
index f01cace..0dd7eb0 100644
--- a/decoders/uart/pd.py
+++ b/decoders/uart/pd.py
@@ -78,7 +78,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['logic']
outputs = ['uart']
- probes = []
optional_probes = [
# Allow specifying only one of the signals, e.g. if only one data
# direction exists (or is relevant).
diff --git a/decoders/usb_packet/pd.py b/decoders/usb_packet/pd.py
index d45e3bd..82e5eee 100644
--- a/decoders/usb_packet/pd.py
+++ b/decoders/usb_packet/pd.py
@@ -151,8 +151,6 @@ class Decoder(srd.Decoder):
license = 'gplv2+'
inputs = ['usb_signalling']
outputs = ['usb_packet']
- probes = []
- optional_probes = []
options = (
{'id': 'signalling', 'desc': 'Signalling', 'default': 'full-speed'},
)
diff --git a/decoders/usb_signalling/pd.py b/decoders/usb_signalling/pd.py
index 6f3ceff..823d625 100644
--- a/decoders/usb_signalling/pd.py
+++ b/decoders/usb_signalling/pd.py
@@ -79,7 +79,6 @@ class Decoder(srd.Decoder):
{'id': 'dp', 'name': 'D+', 'desc': 'USB D+ signal'},
{'id': 'dm', 'name': 'D-', 'desc': 'USB D- signal'},
]
- optional_probes = []
options = (
{'id': 'signalling', 'desc': 'Signalling',
'default': 'full-speed', 'values': ('full-speed', 'low-speed')},
diff --git a/decoders/xfp/pd.py b/decoders/xfp/pd.py
index cb67c2d..63e8aec 100644
--- a/decoders/xfp/pd.py
+++ b/decoders/xfp/pd.py
@@ -199,9 +199,6 @@ class Decoder(srd.Decoder):
license = 'gplv3+'
inputs = ['i2c']
outputs = ['xfp']
- probes = []
- optional_probes = []
- options = {}
annotations = [
['fieldnames-and-values', 'XFP structure field names and values'],
['fields', 'XFP structure fields'],
diff --git a/decoders/z80/pd.py b/decoders/z80/pd.py
index d98df7c..130b147 100644
--- a/decoders/z80/pd.py
+++ b/decoders/z80/pd.py
@@ -87,7 +87,6 @@ class Decoder(srd.Decoder):
{'id': 'a%d' % i, 'name': 'A%d' % i, 'desc': 'Address bus line %d' % i}
for i in range(16)
]
- options = {}
annotations = [
['addr', 'Memory or I/O address'],
['memrd', 'Byte read from memory'],