SQ50 patches for libsigrok
Go to file
Alexandru Gagniuc e7ed87a469 serial-dmm: Use dummy info struct for rs9lcd parser
The rs9lcd parser, which is used for the RadioShack 22-812 does not use its
*info parameter, and therefore did not have a rs9lcd_info struct declared.

With recent re-factoring of the receive data callbacks, it became necessary to
pass a struct pointer. This made the RECV_DATA macro look like:

- RECV_DATA(RADIOSHACK_22_812, metex14)

giving the wrong impression that the RadioShack 22-182 uses the
metex14 protocol, which is not the case.

Create a dummy rs9lcd_info struct, and correctly identify the parser
as rs9lcd in the RECV_DATA macro:

+ RECV_DATA(RADIOSHACK_22_812, rs9lcd)

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-13 23:16:34 +01:00
contrib add VID:PID for generic SILabs F32x USBXpress chips 2012-12-04 23:22:35 +01:00
hardware serial-dmm: Use dummy info struct for rs9lcd parser 2012-12-13 23:16:34 +01:00
input Add compress option to input/vcd. 2012-11-22 23:15:37 +01:00
output output/gnuplot: Drop obsolete code. 2012-11-11 18:14:17 +01:00
.gitignore .gitignore: (Trivial) Ignore KDevelop project files 2012-10-25 19:51:46 +02:00
COPYING sr/srd: Move some files to their resp. dirs. 2011-12-30 11:14:05 +01:00
Doxyfile Doxyfile: Various additions/improvements. 2012-10-22 11:56:17 +02:00
HACKING HACKING: Document enum setup. 2012-11-02 19:05:53 +01:00
Makefile.am Makefile.am: Add missing backslash. 2012-10-22 11:54:40 +02:00
NEWS sr: fx2lafw: Add basic support for USBee DX and clones 2012-08-01 00:12:00 +04:00
README We now require libusb >= 1.0.9. 2012-10-21 22:44:00 +02:00
autogen.sh sr/srd/cli: Fix compiling with Homebrew. 2012-05-15 20:58:20 +02:00
backend.c backend.c: Return a sigrok error in sr_init() on libusb_init() errors 2012-12-05 01:34:15 +01:00
configure.ac Add a struct sr_context * parameter to sr_driver_init() 2012-12-03 12:07:40 +01:00
datastore.c Various subsystems: Use message logging helpers. 2012-11-11 18:14:17 +01:00
device.c serial: revamp internal API 2012-11-12 00:27:17 +01:00
error.c Doxygen: Add @file items for the relevant files. 2012-10-22 11:56:18 +02:00
filter.c Various subsystems: Use message logging helpers. 2012-11-11 18:14:17 +01:00
hwdriver.c Add a struct sr_context * parameter to hw_init() 2012-12-03 12:07:40 +01:00
libsigrok-internal.h serial-dmm: Use dummy info struct for rs9lcd parser 2012-12-13 23:16:34 +01:00
libsigrok.h libsigrok.h: Don't store subdriver in sr_dev_driver 2012-12-13 23:16:34 +01:00
libsigrok.pc.in sr: SR_PACKAGE_VERSION_* for consistency. 2012-03-31 11:35:47 +02:00
log.c Doxygen: Add @file items for the relevant files. 2012-10-22 11:56:18 +02:00
proto.h Add a struct sr_context * parameter to sr_driver_init() 2012-12-03 12:07:40 +01:00
session.c Doxygen: Add @file items for the relevant files. 2012-10-22 11:56:18 +02:00
session_driver.c Add a struct sr_context * parameter to hw_init() 2012-12-03 12:07:40 +01:00
session_file.c Add a struct sr_context * parameter to sr_driver_init() 2012-12-03 12:07:40 +01:00
strutil.c Add support for fs and ps to sr_parse_period. 2012-11-20 21:02:14 +02:00
version.c Doxygen: Add @file items for the relevant files. 2012-10-22 11:56:18 +02:00
version.h.in sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00

README

-------------------------------------------------------------------------------
README
-------------------------------------------------------------------------------

The sigrok project aims at creating a portable, cross-platform,
Free/Libre/Open-Source signal analysis software suite that supports various
device types (such as logic analyzers, oscilloscopes, multimeters, and more).

libsigrok is a shared library written in C which provides the basic API
for talking to hardware and reading/writing the acquired data into various
input/output file formats.


Status
------

libsigrok is in a usable state and has had official tarball releases.

While the API can change from release to release, this will always be
properly documented and reflected in the package version number and
in the shared library / libtool / .so-file version numbers.

However, there are _NO_ guarantees at all for stable APIs in git snapshots!
Distro packagers should only use released tarballs (no git snapshots).


Requirements
------------

 - git
 - gcc (>= 4.0)
 - make
 - autoconf >= 2.63
 - automake >= 1.11
 - libtool
 - pkg-config >= 0.22
 - libglib >= 2.28.0
 - libusb >= 1.0.9 (for most hardware)
 - libzip >= 0.8
 - libftdi >= 0.16 (for some hardware)
 - libudev >= 151 (for some hardware)


Building and installing
-----------------------

In order to get the libsigrok source code and build it, run:

 $ git clone git://sigrok.org/libsigrok
 $ cd libsigrok
 $ ./autogen.sh
 $ ./configure
 $ make

For installing libsigrok:

 $ make install

Please see the following wiki pages for more detailed instructions:

 http://sigrok.org/wiki/Linux
 http://sigrok.org/wiki/Mac_OS_X
 http://sigrok.org/wiki/Windows
 http://sigrok.org/wiki/FreeBSD


Firmware
--------

Some devices supported by libsigrok need a firmware to be uploaded before the
device can be used. 

The default location where libsigrok expects the firmware files is:

  $prefix/share/sigrok-firmware

($prefix is usually /usr/local or /usr, depending on your ./configure options)

For further information see:

  http://sigrok.org/wiki/Firmware


Mailing lists
-------------

There are two mailing lists for sigrok/libsigrok:

 https://lists.sourceforge.net/lists/listinfo/sigrok-devel
 https://lists.sourceforge.net/lists/listinfo/sigrok-commits


IRC
---

You can find the sigrok developers in the #sigrok IRC channel on Freenode.


Website
-------

 http://sigrok.org/wiki/Libsigrok