libsigrokdecode.git
5 years agoswd: Drop unnecessary debug code.
Uwe Hermann [Sun, 12 Oct 2014 17:02:00 +0000 (19:02 +0200)]
swd: Drop unnecessary debug code.

5 years agoswd: Add SWD protocol decoder for ARM Serial Wire Debug format.
Angus Gratton [Sat, 12 Jul 2014 09:34:19 +0000 (19:34 +1000)]
swd: Add SWD protocol decoder for ARM Serial Wire Debug format.

Supports annotated output for analysing debug sessions, Python output
for potential stacked decoders looking at higher level debug
operations.

5 years agoam230x: Minor documentation fix.
Uwe Hermann [Sun, 12 Oct 2014 15:31:40 +0000 (17:31 +0200)]
am230x: Minor documentation fix.

5 years agoam230x: Use slightly more liberal timing values.
Uwe Hermann [Sun, 12 Oct 2014 13:13:50 +0000 (15:13 +0200)]
am230x: Use slightly more liberal timing values.

This seems to be required at least for some AM2301 and DHT11 sensors.

5 years agoam230x: Change option to 'device' to allow for more devices.
Uwe Hermann [Sun, 12 Oct 2014 12:58:25 +0000 (14:58 +0200)]
am230x: Change option to 'device' to allow for more devices.

5 years agoam230x: Fix self.reset() method name.
Uwe Hermann [Sun, 12 Oct 2014 12:57:56 +0000 (14:57 +0200)]
am230x: Fix self.reset() method name.

5 years agoam230x: Minor cosmetics.
Uwe Hermann [Sun, 12 Oct 2014 12:31:21 +0000 (14:31 +0200)]
am230x: Minor cosmetics.

5 years agoAdd decoder for AM230x digital humidity and temperature sensors.
Johannes Römer [Mon, 6 Oct 2014 21:30:22 +0000 (23:30 +0200)]
Add decoder for AM230x digital humidity and temperature sensors.

5 years agoReplace ann_format with ann_class.
Uwe Hermann [Thu, 28 Aug 2014 20:48:39 +0000 (22:48 +0200)]
Replace ann_format with ann_class.

The naming has been changed to "annotation class" a while ago.

5 years agosdcard_spi/usb_packet: Drop unused variables.
Uwe Hermann [Thu, 28 Aug 2014 19:38:39 +0000 (21:38 +0200)]
sdcard_spi/usb_packet: Drop unused variables.

5 years agouart: Implement signal inversion
David Barksdale [Mon, 15 Sep 2014 16:50:09 +0000 (11:50 -0500)]
uart: Implement signal inversion

5 years agoFix out-of-tree build of the unit tests.
Uwe Hermann [Wed, 10 Sep 2014 22:45:08 +0000 (00:45 +0200)]
Fix out-of-tree build of the unit tests.

5 years agoVarious PDs: Whitespace, cosmetics.
Uwe Hermann [Wed, 10 Sep 2014 07:26:11 +0000 (09:26 +0200)]
Various PDs: Whitespace, cosmetics.

5 years agorfm12: Cosmetics.
Uwe Hermann [Mon, 8 Sep 2014 19:44:03 +0000 (21:44 +0200)]
rfm12: Cosmetics.

Also, update author email address.

5 years agorfm12: Frequencies: Fix typo (915MHz), add 315MHz entry.
Uwe Hermann [Mon, 8 Sep 2014 09:55:07 +0000 (11:55 +0200)]
rfm12: Frequencies: Fix typo (915MHz), add 315MHz entry.

5 years agorfm12: Avoid using the Python 'range' keyword as variable.
Uwe Hermann [Mon, 8 Sep 2014 09:54:25 +0000 (11:54 +0200)]
rfm12: Avoid using the Python 'range' keyword as variable.

5 years agorfm12: Drop debug printing.
Uwe Hermann [Mon, 8 Sep 2014 09:48:05 +0000 (11:48 +0200)]
rfm12: Drop debug printing.

Any errors during decoding should be handled by the PD state machine.

5 years agoRFM12 decoder
Sławek Piotrowski [Wed, 3 Sep 2014 22:32:14 +0000 (00:32 +0200)]
RFM12 decoder

5 years agoPD tests moved into the sigrok-test repo.
Uwe Hermann [Mon, 1 Sep 2014 15:38:09 +0000 (17:38 +0200)]
PD tests moved into the sigrok-test repo.

Drop them from the libsigrokdecode repository.

5 years agospdif: Simplify get_pulse_type() a bit.
Uwe Hermann [Fri, 29 Aug 2014 22:55:56 +0000 (00:55 +0200)]
spdif: Simplify get_pulse_type() a bit.

5 years agospdif: Use strings for decoder states.
Uwe Hermann [Fri, 29 Aug 2014 22:16:33 +0000 (00:16 +0200)]
spdif: Use strings for decoder states.

5 years agospdif: Add another annotation helper.
Uwe Hermann [Fri, 29 Aug 2014 22:09:50 +0000 (00:09 +0200)]
spdif: Add another annotation helper.

5 years agospdif: Refactor and reduce nesting level.
Uwe Hermann [Fri, 29 Aug 2014 21:50:56 +0000 (23:50 +0200)]
spdif: Refactor and reduce nesting level.

5 years agoAdd initial S/PDIF decoder.
Guenther Wenninger [Sat, 19 Apr 2014 00:20:42 +0000 (02:20 +0200)]
Add initial S/PDIF decoder.

5 years agods1307: Warn about (and ignore) non-DS1307 traffic.
Uwe Hermann [Sat, 16 Aug 2014 19:35:26 +0000 (21:35 +0200)]
ds1307: Warn about (and ignore) non-DS1307 traffic.

5 years agods1307: Correctly handle address wrap-around.
Uwe Hermann [Sat, 16 Aug 2014 19:19:05 +0000 (21:19 +0200)]
ds1307: Correctly handle address wrap-around.

5 years agods1307: Refactoring and cleanups.
Uwe Hermann [Sat, 16 Aug 2014 19:17:32 +0000 (21:17 +0200)]
ds1307: Refactoring and cleanups.

5 years agods1307: Handle SRAM register accesses.
Uwe Hermann [Sat, 16 Aug 2014 19:03:00 +0000 (21:03 +0200)]
ds1307: Handle SRAM register accesses.

5 years agods1307: Handle register 0x07 (control register).
Uwe Hermann [Sat, 16 Aug 2014 18:45:56 +0000 (20:45 +0200)]
ds1307: Handle register 0x07 (control register).

5 years agods1307: Emit per-bit annotations for registers.
Uwe Hermann [Sat, 16 Aug 2014 18:36:09 +0000 (20:36 +0200)]
ds1307: Emit per-bit annotations for registers.

Also, add more annotation classes (and annotation rows).

5 years agoconfigure.ac: Use AM_CFLAGS instead of CFLAGS.
Uwe Hermann [Sat, 16 Aug 2014 16:43:51 +0000 (18:43 +0200)]
configure.ac: Use AM_CFLAGS instead of CFLAGS.

CFLAGS, CPPFLAGS, LDFLAGS and so on are so-called "user variables" and
are meant for users of the package to use/override. The package itself
should not set or modify them in any way. Instead, the "shadow variables"
such as AM_CFLAGS, AM_CPPFLAGS, AM_LDFLAGS and so on, can be modified by
the package.

5 years agotca6408a: Cosmetics.
Uwe Hermann [Sat, 16 Aug 2014 16:38:07 +0000 (18:38 +0200)]
tca6408a: Cosmetics.

5 years agoAdd decoder for TCA6408A I2C I/O expanders.
alberink [Thu, 19 Jun 2014 15:18:52 +0000 (17:18 +0200)]
Add decoder for TCA6408A I2C I/O expanders.

5 years agotests: Factor out srdtest_setup() / srdtest_teardown().
Uwe Hermann [Thu, 14 Aug 2014 17:30:54 +0000 (19:30 +0200)]
tests: Factor out srdtest_setup() / srdtest_teardown().

5 years agoWhitespace and consistency fixes.
Uwe Hermann [Thu, 14 Aug 2014 16:51:11 +0000 (18:51 +0200)]
Whitespace and consistency fixes.

5 years agopdtests: Check for SamplerateError in all PDs that emit it.
Uwe Hermann [Mon, 11 Aug 2014 20:53:02 +0000 (22:53 +0200)]
pdtests: Check for SamplerateError in all PDs that emit it.

5 years agoparallel: Enforce that at least one pin must be provided.
Uwe Hermann [Mon, 11 Aug 2014 20:53:35 +0000 (22:53 +0200)]
parallel: Enforce that at least one pin must be provided.

5 years agospi/nrf24l01/uart: Use ChannelError exception.
Uwe Hermann [Sun, 10 Aug 2014 07:22:29 +0000 (09:22 +0200)]
spi/nrf24l01/uart: Use ChannelError exception.

Rename the old MissingDataError to the clearer ChannelError. Also, add
ChannelError in the UART decoder.

5 years agonrf24l01: prettify annotation output
Jens Steinhauser [Sun, 3 Aug 2014 21:30:42 +0000 (23:30 +0200)]
nrf24l01: prettify annotation output

5 years agotests/pdtest: Small fix to make it work with Python 3.2.
Uwe Hermann [Wed, 30 Jul 2014 22:44:20 +0000 (00:44 +0200)]
tests/pdtest: Small fix to make it work with Python 3.2.

Python 3.2 doesn't yet have the copy() method for lists:

  AttributeError: 'list' object has no attribute 'copy'

5 years agotests/check_session.c: Fix compiler warning.
Uwe Hermann [Wed, 30 Jul 2014 22:02:22 +0000 (00:02 +0200)]
tests/check_session.c: Fix compiler warning.

This fixes 'warning: "_POSIX_C_SOURCE" redefined' with some Python
versions.

5 years agoDrop references to obsolete sigrok-commits mailing list.
Uwe Hermann [Tue, 22 Jul 2014 22:00:33 +0000 (00:00 +0200)]
Drop references to obsolete sigrok-commits mailing list.

5 years agoruntc: Update to the new libsigrok session API.
Uwe Hermann [Sun, 20 Jul 2014 11:16:30 +0000 (13:16 +0200)]
runtc: Update to the new libsigrok session API.

(also fixes the build for libsigrokdecode)

5 years agoFix incorrect doxygen comment for srd_decoder_list().
Uwe Hermann [Sun, 20 Jul 2014 09:31:27 +0000 (11:31 +0200)]
Fix incorrect doxygen comment for srd_decoder_list().

This fixes bug #378.

5 years agoAll PDs: Minor whitespace and consistency fixes.
Uwe Hermann [Tue, 15 Jul 2014 20:49:43 +0000 (22:49 +0200)]
All PDs: Minor whitespace and consistency fixes.

 - No newlines at the end of files.
 - No trailing ';' characters.
 - Comparison with None: Use 'is None' or 'is not None'.
 - Comparison with True/False: Use 'if cond:' or 'if not cond:'.
 - Various minor whitespace fixes.

5 years agouart/i2cfilter: Don't check multiple-choice options.
Uwe Hermann [Wed, 9 Jul 2014 15:31:32 +0000 (17:31 +0200)]
uart/i2cfilter: Don't check multiple-choice options.

For options which only have a limited set of valid values, we don't need
to check (in the PD) whether a valid value was supplied, since the backend
can do that for us.

5 years agoVarious PDs: Minor consistency fixes.
Uwe Hermann [Tue, 8 Jul 2014 19:36:53 +0000 (21:36 +0200)]
Various PDs: Minor consistency fixes.

(Consistently use single-quotes for all Python strings everywhere)

5 years agoVarious PDs: Throw SamplerateError instead of Exception.
Uwe Hermann [Tue, 8 Jul 2014 19:32:32 +0000 (21:32 +0200)]
Various PDs: Throw SamplerateError instead of Exception.

Also, use the "if not self.samplerate" form, which catches both the case
where self.samplerate is None, as well as the case where it is 0.

5 years agoAll PDs: Drop unneeded exceptions.
Uwe Hermann [Tue, 8 Jul 2014 19:21:03 +0000 (21:21 +0200)]
All PDs: Drop unneeded exceptions.

In all current PDs it is not necessary to raise an exception upon
invalid states (of the PD's state machine), since we can guarantee that
no such invalid state can ever be reached in these PDs.

5 years agoAdd nRF24L01(+) protocol decoder.
Jens Steinhauser [Tue, 8 Jul 2014 20:15:30 +0000 (22:15 +0200)]
Add nRF24L01(+) protocol decoder.

5 years agospi: Fix order of MISO/MOSI data items.
Jens Steinhauser [Tue, 8 Jul 2014 15:48:56 +0000 (17:48 +0200)]
spi: Fix order of MISO/MOSI data items.

5 years agopdtest: Use new exception output.
Bert Vermeulen [Tue, 8 Jul 2014 19:43:58 +0000 (21:43 +0200)]
pdtest: Use new exception output.

5 years agoMake exception output more predictable.
Bert Vermeulen [Tue, 8 Jul 2014 19:43:33 +0000 (21:43 +0200)]
Make exception output more predictable.

5 years agoRemove dependency on Python.h from public API header
Marcus Comstedt [Mon, 30 Jun 2014 22:07:40 +0000 (00:07 +0200)]
Remove dependency on Python.h from public API header

This prevents Python.h from being included into client code, where
it can mess things up by e.g. redefining _POSIX_C_SOURCE.

5 years agoruntc: Fix incorrect include directive
Marcus Comstedt [Sun, 29 Jun 2014 09:38:50 +0000 (11:38 +0200)]
runtc: Fix incorrect include directive

runtc.c used to try to include "../config.h".  This only works when
building in the source tree, otherwise there is no config.h in the
parent directory of runtc.c.  However, the explicit path is
unnecessary since the build directory (whether the same as the source
directory or not) will always be added to the include path.

5 years agosrd_decoder_load_all_path: Support zipimport paths
Marcus Comstedt [Sun, 6 Jul 2014 23:36:22 +0000 (01:36 +0200)]
srd_decoder_load_all_path: Support zipimport paths

srd_decoder_load() works perfectly with decoders stored inside zip files.
However, srd_decoder_load_all{_path,}() did not, because it assumed that
normal directory listings can be used to enumerate decoders, which is not
the case for zipped decoders.  Fix this by providing a fallback based on
the zipimporter Python class.

5 years agospi: Add coverage tests for all exceptions.
Bert Vermeulen [Fri, 27 Jun 2014 16:45:46 +0000 (18:45 +0200)]
spi: Add coverage tests for all exceptions.

5 years agospi: Add coverage tests for all mosi/miso and lsb/msb combinations.
Bert Vermeulen [Fri, 27 Jun 2014 16:45:01 +0000 (18:45 +0200)]
spi: Add coverage tests for all mosi/miso and lsb/msb combinations.

5 years agospi: Refactor for more coverage, and remove dead code.
Bert Vermeulen [Fri, 27 Jun 2014 16:37:58 +0000 (18:37 +0200)]
spi: Refactor for more coverage, and remove dead code.

5 years agoruntc: PD option value is a GVariant, not string.
Bert Vermeulen [Thu, 26 Jun 2014 17:56:02 +0000 (19:56 +0200)]
runtc: PD option value is a GVariant, not string.

This is still broken: it needs to properly check the expected type of
the option, not just blindly assume G_VARIANT_TYPE_STRING.

5 years agopdtest: Generate report regardless of verbose mode.
Bert Vermeulen [Tue, 24 Jun 2014 16:17:22 +0000 (18:17 +0200)]
pdtest: Generate report regardless of verbose mode.

5 years agoedid: Add another test, covering more code in the PD.
Bert Vermeulen [Tue, 24 Jun 2014 14:04:45 +0000 (16:04 +0200)]
edid: Add another test, covering more code in the PD.

5 years agopdtest: Generate a report listing missed lines across the whole PD.
Bert Vermeulen [Tue, 24 Jun 2014 13:49:05 +0000 (15:49 +0200)]
pdtest: Generate a report listing missed lines across the whole PD.

5 years agoi2c: Generate proper exception for missing samplerate, and test for it.
Bert Vermeulen [Mon, 23 Jun 2014 17:52:45 +0000 (19:52 +0200)]
i2c: Generate proper exception for missing samplerate, and test for it.

Also remove some dead code.

5 years agopdtest/runtc: Support for output type 'exception'.
Bert Vermeulen [Mon, 23 Jun 2014 17:49:47 +0000 (19:49 +0200)]
pdtest/runtc: Support for output type 'exception'.

The match value should be the name of the exception thrown, e.g.
AttributeError, IndexError or even a custom exception defined in
the protocol decoder, such as SamplerateError.

5 years agodo not add check to common cflags/libs
Mike Frysinger [Sat, 14 Jun 2014 05:54:11 +0000 (01:54 -0400)]
do not add check to common cflags/libs

Only the unittests use these flags, so don't go linking them in for
the main library too.

5 years agofix test operator
Mike Frysinger [Sat, 14 Jun 2014 05:54:10 +0000 (01:54 -0400)]
fix test operator

The == operator is not in POSIX.

6 years agoruntc.c: Fix compiler warning
Kumar Abhishek [Fri, 9 May 2014 21:32:06 +0000 (04:32 +0700)]
runtc.c: Fix compiler warning

c was of type char, while getopt returns an int. This
caused a compiler warning during build.

6 years agolibsigrokdecode: Fix make -j issue with build_runtc
Kumar Abhishek [Fri, 9 May 2014 21:32:05 +0000 (04:32 +0700)]
libsigrokdecode: Fix make -j issue with build_runtc

The build of runtc caused issues with make -j as runtc
was attempted to be linked with libsigrokdecode before
libsigrokdecode was linked. Using LDADD to insert
libsigrokdecode ensures that it links before runtc,
ensuring the build completes correctly.

6 years agoAdd python as a pkg-config dependency
Abhishek Kumar [Thu, 8 May 2014 23:05:00 +0000 (06:05 +0700)]
Add python as a pkg-config dependency

The current libsigrokdecode build passes the python
CPPFLAGS and LDFLAGS directly into libsigrokdecode.pc.in.
This leads to issues while cross-compiling as while using
PKG_CONFIG_SYSROOT_DIR, there is a chance of the prefix
being duplicated. We now, while detecting the installation
of python (cross or normal), add a dependency for the
module name in the pkgconfig file (from configure.ac).

6 years agoconfigure.ac: Bump package version to 0.3.0.
Uwe Hermann [Tue, 6 May 2014 21:05:28 +0000 (23:05 +0200)]
configure.ac: Bump package version to 0.3.0.

6 years agoconfigure.ac: Bump libtool/library version from 1:0:0 to 2:0:0.
Uwe Hermann [Tue, 6 May 2014 21:03:10 +0000 (23:03 +0200)]
configure.ac: Bump libtool/library version from 1:0:0 to 2:0:0.

The libtool current:revision:age numbers change from 1:0:0 to 2:0:0.

Details:
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info

This changes the library filename (e.g. on Linux) from
libsigrokdecode.so.1.0.0 to libsigrokdecode.so.2.0.0, the SONAME (+symlink)
becomes libsigrokdecode.so.2.

6 years agoBump libsigrok (optional) dependency to 0.3.0.
Uwe Hermann [Tue, 6 May 2014 21:06:57 +0000 (23:06 +0200)]
Bump libsigrok (optional) dependency to 0.3.0.

6 years agoNEWS: Add list of user-visible changes so far.
Uwe Hermann [Tue, 6 May 2014 07:00:00 +0000 (09:00 +0200)]
NEWS: Add list of user-visible changes so far.

6 years agoMakefile.am: Add HACKING to the tarball.
Uwe Hermann [Tue, 15 Apr 2014 16:30:28 +0000 (18:30 +0200)]
Makefile.am: Add HACKING to the tarball.

6 years agoOnly load and use PDs of API version 2.
Uwe Hermann [Sun, 4 May 2014 21:46:21 +0000 (23:46 +0200)]
Only load and use PDs of API version 2.

Decoders that implement any other PD API version are per definition not
compatible and cannot work with this library version.

6 years agoREADME: Document python3-coverage requirement for tests.
Uwe Hermann [Sun, 4 May 2014 20:29:18 +0000 (22:29 +0200)]
README: Document python3-coverage requirement for tests.

6 years agoFix 'make install' on OSes where 'python3' doesn't exist.
Uwe Hermann [Sun, 4 May 2014 20:17:03 +0000 (22:17 +0200)]
Fix 'make install' on OSes where 'python3' doesn't exist.

Sometimes the Python 3 executable is called just 'python3', sometimes
it is called 'python3.4' and so on. Handle all cases transparently for
the user.

Before:

  $ make install
  /usr/bin/env: python3: No such file or directory

After:

  $ make install
  python3.4 ./tools/install-decoders -i ./decoders -o [...]
  Installing 36 protocol decoders:
  [...]

6 years agoHACKING: Update to current conventions.
Uwe Hermann [Sun, 4 May 2014 19:59:57 +0000 (21:59 +0200)]
HACKING: Update to current conventions.

(mostly copied from libsigrok, which normally has the same conventions)

6 years agoMark some variables more consistently as SRD_PRIV.
Uwe Hermann [Sun, 4 May 2014 19:00:24 +0000 (21:00 +0200)]
Mark some variables more consistently as SRD_PRIV.

6 years agolog.c: Avoid using the same name for a variable and enum.
Uwe Hermann [Sun, 4 May 2014 18:56:32 +0000 (20:56 +0200)]
log.c: Avoid using the same name for a variable and enum.

6 years agoUpdate a few Doxygen @since tags.
Uwe Hermann [Sun, 4 May 2014 18:25:17 +0000 (20:25 +0200)]
Update a few Doxygen @since tags.

6 years agolibsigrokdecode.h: Give type names to all enumerations.
Uwe Hermann [Sun, 4 May 2014 17:54:02 +0000 (19:54 +0200)]
libsigrokdecode.h: Give type names to all enumerations.

This matches the libsigrok conventions, and will be required (or
at least nice to have) for libsigrokdecode language bindings later.

6 years agotools/install-decoders: Minor consistency fix.
Uwe Hermann [Sat, 3 May 2014 22:08:15 +0000 (00:08 +0200)]
tools/install-decoders: Minor consistency fix.

6 years agoMove srd_check_init() to decoder.c and make it static.
Uwe Hermann [Sat, 3 May 2014 21:56:50 +0000 (23:56 +0200)]
Move srd_check_init() to decoder.c and make it static.

The function srd_check_init() is only used in decoder.c.

6 years agoMake 'pd_list' static, it's only used in one file.
Uwe Hermann [Sat, 3 May 2014 21:52:54 +0000 (23:52 +0200)]
Make 'pd_list' static, it's only used in one file.

6 years agoMake the srd_Decoder type private.
Uwe Hermann [Sat, 3 May 2014 21:45:55 +0000 (23:45 +0200)]
Make the srd_Decoder type private.

It's not public API and is not used (nor should it be used) by any frontends.

6 years agosrd.c: Fix typo to avoid Doxygen output for srd_check_init().
Uwe Hermann [Sat, 3 May 2014 21:41:04 +0000 (23:41 +0200)]
srd.c: Fix typo to avoid Doxygen output for srd_check_init().

6 years agoDoxygen: Don't parse anything in tests/ or doxy/.
Uwe Hermann [Sat, 3 May 2014 21:40:54 +0000 (23:40 +0200)]
Doxygen: Don't parse anything in tests/ or doxy/.

None of that is API-relevant.

6 years agodoxygen: Updated Doxyfile to doxygen 1.8.6.
Uwe Hermann [Sat, 3 May 2014 21:17:02 +0000 (23:17 +0200)]
doxygen: Updated Doxyfile to doxygen 1.8.6.

6 years agoDon't define names ending with _t (POSIX reserved).
Uwe Hermann [Sat, 3 May 2014 20:45:50 +0000 (22:45 +0200)]
Don't define names ending with _t (POSIX reserved).

Avoid defining any names ending in _t, those are generally reserved
for POSIX usage. For details see:

http://pubs.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_02.html
http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html

6 years agoedid: s/annotation type/annotation class/.
Uwe Hermann [Sat, 3 May 2014 20:36:55 +0000 (22:36 +0200)]
edid: s/annotation type/annotation class/.

6 years agotests/check_session.c: Use UINT64_MAX.
Uwe Hermann [Sat, 3 May 2014 20:35:32 +0000 (22:35 +0200)]
tests/check_session.c: Use UINT64_MAX.

6 years agoDetect Python 3.4 if not installed as "python3".
Bert Vermeulen [Thu, 24 Apr 2014 12:12:49 +0000 (14:12 +0200)]
Detect Python 3.4 if not installed as "python3".

6 years agoinstance.c: s/probe/channel/.
Uwe Hermann [Tue, 15 Apr 2014 06:44:51 +0000 (08:44 +0200)]
instance.c: s/probe/channel/.

6 years agoAll PDs: More consistent OUTPUT_PYTHON format docs.
Uwe Hermann [Tue, 15 Apr 2014 06:43:22 +0000 (08:43 +0200)]
All PDs: More consistent OUTPUT_PYTHON format docs.

6 years agosdcard_spi: Avoid duplicate keys in a Python dict.
Uwe Hermann [Mon, 14 Apr 2014 21:50:45 +0000 (23:50 +0200)]
sdcard_spi: Avoid duplicate keys in a Python dict.

This fixes bug #191.

6 years agoAll PDs: Bump api_version to 2.
Uwe Hermann [Mon, 14 Apr 2014 20:14:39 +0000 (22:14 +0200)]
All PDs: Bump api_version to 2.

Older libsigrokdecode versions are no longer able to use the current
versions of the PDs (various changes in syntax etc).

6 years agoAll PDs: Drop some unneeded comments.
Uwe Hermann [Mon, 14 Apr 2014 21:09:43 +0000 (23:09 +0200)]
All PDs: Drop some unneeded comments.

6 years agonunchuk: Fix PD to become usable in GUIs.
Uwe Hermann [Wed, 5 Feb 2014 17:25:22 +0000 (18:25 +0100)]
nunchuk: Fix PD to become usable in GUIs.

 - Provide proper annotation classes and annotation rows.
 - Emit bit-exact annotations for some registers.
 - Output short and long annotations (for use when zooming).
 - Various minor fixes.

This fixes bug #344.