SQ50 patches for libsigrok
Go to file
Bert Vermeulen bc1c2f001a Use GVariant for sr_config_*() functions
sr_config_get() provides a GVariant owned by the caller, so it must be
released with g_variant_unref() when done.

sr_config_set() takes a GVariant from the caller which may be floating;
it will be properly sunk and release after use by this function. Thus
the output of g_variant_new_*() may be used as an argument.

sr_config_list() also provides a GVariant owned by the caller, to be
unreferenced when done.

sr_config_make() can take a floating reference.
2013-04-11 18:32:06 +02:00
contrib udev: Add UNI-T UT-D04 multimeter cable entry. 2013-01-20 18:47:35 +01:00
hardware Bump copyright year 2013-04-11 18:32:06 +02:00
input Bump copyright year 2013-04-11 18:32:06 +02:00
output Bump copyright year 2013-04-11 18:32:06 +02:00
tests Add a testsuite for libsigrok. 2013-03-09 11:55:43 +01:00
.gitignore autotools: Don't use "foreign" option. 2013-03-17 13:15:56 +01:00
AUTHORS autotools: Don't use "foreign" option. 2013-03-17 13:15:56 +01:00
COPYING sr/srd: Move some files to their resp. dirs. 2011-12-30 11:14:05 +01:00
Doxyfile Doxygen: Exclude std.c and tests/*. 2013-04-06 19:29:13 +02:00
HACKING Add a testsuite for libsigrok. 2013-03-09 11:55:43 +01:00
Makefile.am Add initial README.devices file. 2013-03-14 19:49:33 +01:00
NEWS sr: fx2lafw: Add basic support for USBee DX and clones 2012-08-01 00:12:00 +04:00
README README: Refer to INSTALL and new Building wiki page. 2013-03-17 13:16:03 +01:00
README.devices Don't make README.devices executable. 2013-03-17 13:16:04 +01:00
autogen.sh autotools: Don't use "foreign" option. 2013-03-17 13:15:56 +01:00
backend.c sr_init(): Sanity-check input/output modules. 2013-03-10 18:27:19 +01:00
configure.ac configure.ac: Fix checks for cross-compiles. 2013-04-09 19:52:38 +02:00
device.c Bump copyright year 2013-04-11 18:32:06 +02:00
error.c Doxygen: Add @file items for the relevant files. 2012-10-22 11:56:18 +02:00
filter.c Doxygen: Fix a few warnings. 2013-04-06 19:25:23 +02:00
hwdriver.c Use GVariant for sr_config_*() functions 2013-04-11 18:32:06 +02:00
libsigrok-internal.h Use GVariant for sr_config_*() functions 2013-04-11 18:32:06 +02:00
libsigrok.h Use GVariant for sr_config_*() functions 2013-04-11 18:32:06 +02: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 Use GVariant for sr_config_*() functions 2013-04-11 18:32:06 +02:00
session.c Drop deprecated sr_session_halt(). 2013-03-03 18:02:24 +01:00
session_driver.c Bump copyright year 2013-04-11 18:32:06 +02:00
session_file.c Bump copyright year 2013-04-11 18:32:06 +02:00
std.c Add/use std_hw_dev_acquisition_stop_serial(). 2013-02-08 23:32:45 +01:00
strutil.c properly deal with decimals 2013-02-10 17:06:56 +01:00
version.c Doxygen: Properly document and handle version.h. 2013-04-06 19:25:29 +02:00
version.h.in Doxygen: Properly document and handle version.h. 2013-04-06 19:25:29 +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
 - libzip >= 0.8
 - libusb-1.0 >= 1.0.9 (optional, used by most drivers)
 - libftdi >= 0.16 (optional, used by some drivers)
 - libudev >= 151 (optional, used by some drivers)
 - libasound / alsa-lib >= 1.0 (optional, only used by the alsa driver)
 - check >= 0.9.4 (optional, only needed to run unit tests)


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

See INSTALL or the following wiki page for more (OS-specific) instructions:

 http://sigrok.org/wiki/Building


Device-specific issues
----------------------

Please check README.devices for some notes and hints about device- or
driver-specific issues to be aware of.


Firmware
--------

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


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