summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-23transitioncounter: Drop PD (obsolete).Uwe Hermann
This decoder was just a simple test case for early libsigrokdecode development and testing, it is neither useful nor properly working currently, so drop it.
2014-01-23uart: Add binaryout/dump support, drop obsolete 'uart_dump' PD.Uwe Hermann
The functionality of the preliminary 'uart_dump' PD is now available in the proper 'uart' PD, via the OUTPUT_BINARY mechanism that frontends can use to dump decoded data (in various formats) to a file, or pipe it into other applications, and so on. Old sigrok-cli example usage: $ sigrok-cli -i foo.sr -P uart:rx=0:tx=1,uart_dump:filename=bootlog.txt New sigrok-cli example usage: $ sigrok-cli -i foo.sr -P uart:rx=0:tx=1 -B uart=rxtx > bootlog.txt New sigrok-cli example usage (piping into other applications): $ sigrok-cli -i foo.sr -P uart:rx=0:tx=1 -B uart=rxtx | grep "whatever"
2014-01-23i2s: Add WAV dump support, drop obsolete 'i2s_dump' PD.Uwe Hermann
The functionality of the preliminary 'i2s_dump' PD is now available in the proper 'i2s' PD, via the OUTPUT_BINARY mechanism that frontends can use to dump decoded data (in various formats) to a file, or pipe it into other applications, and so on. Old sigrok-cli example usage: $ sigrok-cli -i 2ch-16bit-16khz.sr \ -P i2s:sck=0:ws=1:sd=2,i2s_dump:filename=foo.wav $ aplay foo.wav New sigrok-cli example usage: $ sigrok-cli -i 2ch-16bit-16khz.sr \ -P i2s:sck=0:ws=1:sd=2 -B i2s=wav > foo.wav $ aplay foo.wav New sigrok-cli example usage (piping into other applications): $ sigrok-cli -i 2ch-16bit-16khz.sr \ -P i2s:sck=0:ws=1:sd=2 -B i2s=wav | aplay -
2014-01-17configure.ac: Drop obsolete MinGW Python3 workaround.Uwe Hermann
We just use dummy/fake python3.pc files on Windows so that the usual pkg-config mechanism works there as well.
2014-01-17configure.ac: Check for all known Python3 pkg-config names.Uwe Hermann
Even when using pkg-config not all distro/platform specific issues are transparent, unfortunately. On some systems the pkg-config file is named "python3.pc" on others it's versioned, e.g. "python-3.2.pc". See also: http://sigrok.org/wiki/Libsigrokdecode/Python This should fix the build on e.g. FreeBSD, NetBSD, Mac OS X (some versions), and possibly various Linux distros, e.g. Gentoo. Also, drop manual AC_MSG_ERROR() and let PKG_CHECK_MODULES() output a more verbose and standardized error message if Python 3 is not found.
2014-01-13parallel: Make CLK probe optional.Uwe Hermann
When no CLK probe is supplied to this PD, handle any transition on any of the supplied data probes as if there had been a CLK transition. (based on a suggestion/patch by "bmx" from the #sigrok channel, thanks!)
2014-01-03Link against libm to avoid Python related linking errors.Uwe Hermann
The python3-config script reported "-lm" as linker option previously, but we switched to using pkg-config (among other things for cross-compile support) which doesn't report "-lm" though (this is a common behaviour across multiple distros and OSes).
2014-01-02configure.ac: Use pkg-config to check for pythonMarcus Comstedt
Using python-config does not work when cross-compiling, since it can only be run on the host system.
2013-12-28jtag: Use proper annotation classes, fix GUI usage.Uwe Hermann
This closes bug #156.
2013-12-28jtag: Refactor and simplify some code.Uwe Hermann
2013-12-28Do some more I2C to I²C changes.Uwe Hermann
2013-12-28i2s: Fix typo.Uwe Hermann
2013-12-28mxc6225xu: Replace I2C with I²CJoel Holdsworth
2013-12-28lm75: Replace I2C with I²CJoel Holdsworth
2013-12-28i2s_dump: Replace I2S with I²SJoel Holdsworth
2013-12-28i2s: Replace I2S with I²SJoel Holdsworth
2013-12-28i2cfiler: Replaced I2C with I²CJoel Holdsworth
2013-12-28i2cdemux: Replaced I2C with I²CJoel Holdsworth
2013-12-28i2c: Replaced I2C with I²CJoel Holdsworth
2013-12-22runtc: Fix conditional build on non-Linux systems.Bert Vermeulen
2013-12-18Don't install runtc.Arkadiusz Miśkiewicz
Don't install runtc. Not meant for generic usage. Signed-off-by: Arkadiusz Miśkiewicz <arekm@maven.pl>
2013-12-18runtc: Output binary as ASCII timestamp/class/hex bytes instead.Bert Vermeulen
This allows for verifying timestamps and classes as well.
2013-12-15runtc: Make sure to compile against this libraryBert Vermeulen
It might compile against a previously-installed one unless the linker finds it in the top directory first.
2013-12-13i2c: Add Python tests.Bert Vermeulen
2013-12-13pdtest/runtc: Add support for Python output types.Bert Vermeulen
2013-12-13Send SRD_OUTPUT_PYTHON to registered callbacks as well.Bert Vermeulen
There's really only one use case for this: the testing framework. This allows it to check what gets sent up the stack as well.
2013-12-13Prune dead code.Bert Vermeulen
2013-12-13i2c: Avoid obsolete method.Bert Vermeulen
2013-12-13No need to mess with method reference counts.Bert Vermeulen
2013-12-12i2c: Add binary tests.Bert Vermeulen
2013-12-12pdtest/runtc: Add support for binary output types.Bert Vermeulen
2013-12-12pdtest: Add -f option to automatically fix failing tests.Bert Vermeulen
2013-12-12runtc: Add support for binary output.Bert Vermeulen
2013-12-12Use new binary class definition format.Bert Vermeulen
2013-12-12Binary classes are now defined as (name, description).Bert Vermeulen
2013-12-11Easier access to sequences of strings, not just lists.Bert Vermeulen
2013-12-11runtc: Return errorcode according to testcase result.Bert Vermeulen
2013-12-11pdtest: Use -dd to turn on SR/SRD debugging.Bert Vermeulen
2013-12-11check: Make sure to test this set of decoders, not the installed ones.Bert Vermeulen
2013-12-11Load decoders from all search paths, not just the default.Bert Vermeulen
srd_decoder_load_all() was really only getting a list of decoders from the default (installation) path, so could not find uninstalled decoders, or those in a custom added search path. This broke development of new PDs when using the SIGROKDECODE_DIR environment variable, and broke many of the unit tests in the tests/ directory -- those actually tested against the already-installed decoders, not the ones about to be installed.
2013-12-11Clear decoder list after unloading, not just at exit.Bert Vermeulen
2013-12-11runtc: Make sure to test this set of decoders, not the installed ones.Bert Vermeulen
2013-12-11pdtest: Don't bother with diff if any error at all occurred.Bert Vermeulen
2013-12-11pdtest: Add option for custom sigrok-dumps repository path.Bert Vermeulen
2013-12-11pdtest: Always sanity-check all testcases.Bert Vermeulen
2013-12-11Clean up runtc build.Bert Vermeulen
This only compiles libsigrok into the one target that needs it, instead of slopping it all over the place.
2013-12-10Add protocol decoder testing framework.Bert Vermeulen
This adds a tool in the tests directory, called pdtest. It uses the "test/" directory in every PD directory, if present, to run the PD against dumps found in the sigrok-dumps repository, and compares the output against ".output" files in the "test/" directory. The file "test/test.conf" is used to configure which tests to run. A separate tool (tests/runtc.c) is used to run the actual decoding and report output. To get an overview of the options, run tests/pdtest without any options.
2013-12-10API clarification.Bert Vermeulen
2013-12-10Fix 'dist' make target.Bert Vermeulen
2013-12-09Avoid GError warning when unloading decoders.Bert Vermeulen