summaryrefslogtreecommitdiff
path: root/decoders
AgeCommit message (Collapse)Author
2011-11-28srd: nunchuk.py: Convert to new decoder API.Uwe Hermann
This is not really finished, or tested, or working. It's also a decoder which stacks on top of the I2C decoder, and the infrastructure for stacking decoders is not yet usable.
2011-11-27decoders: Drop psyco stuff, seems obsolete.Uwe Hermann
The psyco module seems to be mostly unmaintained at this point, it does not support Python 2.7 or higher at all, it only supports x86, it doesn't support 64 bit systems at all, etc. etc. We should try to find other ways to optimize our decoders for speed.
2011-11-27srd: Python: Consistently use single quotes for strings.Uwe Hermann
2011-11-27srd: i2c.py: Docstrings should use """.Uwe Hermann
This is the most commonly used and recommended method for docstrings.
2011-11-27srd: i2c.py: Mark Repeated Start condition as 'Sr'.Uwe Hermann
2011-11-27srd: i2c.py: Rework I2C decoder.Uwe Hermann
This should be working OK for most use-cases now, though there certainly are a few TODOs left. The output format is just a quick hack and will change.
2011-11-27srd: Pass metadata to decoders only on SR_DF_HEADER.Gareth McMullin
Before this was passed to the decoder's constuctor, but the parameters may not all be known at construction. Decoders now have a method start() which is called at the start of the capture, and metadata is passed as an arg to this function.
2011-11-24srd: i2c.py: Convert to new API (unfinished).Uwe Hermann
This decoder is probably not fully converted yet, and doesn't really successfully decode I2C, yet. It's work in progress.
2011-11-23transitioncounter.py: Convert to new API.Uwe Hermann
This is still work-in-progress, but at least it runs and outputs stuff now.
2011-11-23nunchuk.py: Fix indentation (syntax error).Uwe Hermann
2011-11-23Decoders: Use 4 spaces for indentation as per PEP-8.Uwe Hermann
2011-11-20libsigrokdecode: Allow frontend to configure decoder probes.Gareth McMullin
2011-11-20libsigrokdecode: Allow multiple PD instances.Gareth McMullin
There is currently no way to configure options or probes, so they'll always be the same, but it's a start.
2011-11-20libsigrokdecode: Move decoder metadata into Decoder object.Gareth McMullin
2011-11-20Simplified code for calling Python decode method.Gareth McMullin
2011-11-20Add support for OO based PDs.Kristoffer Sjöberg
2011-11-20Pass multiple samples to the protocol decoder and adapt transitioncounter.py ↵Kristoffer Sjöberg
to work with this.
2011-11-20Update transitioncounter.py to the streaming PD API.Kristoffer Sjöberg
2011-11-20Partial implementation of the streaming PD API.Kristoffer Sjöberg
2011-04-03Decoders: s/dist_pkgdata_SCRIPTS/dist_pkgdata_DATA/.Uwe Hermann
The .py decoder files are not technically scripts and should not be executable and can not be invoked on the command line (via ./foo.py --help or similar).
2011-02-06Python decoders: Add more metadata.Uwe Hermann
Make the list of metadata info match the spec in the wiki more closely.
2011-01-15Install decoders into a decoders/ subdir.Uwe Hermann
Use $(datadir)/sigrok/decoders as subdirectory for the protocol decoders (instead of installing them in the top-level $(datadir)/sigrok), just as we do for $(datadir)/sigrok/firmware.
2011-01-10Rename the scripts/ directory to decoders/.Uwe Hermann