2011-12-30 21:38:25 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
README
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
The sigrok project aims at creating a portable, cross-platform,
|
2012-10-08 16:52:36 +00:00
|
|
|
Free/Libre/Open-Source signal analysis software suite that supports various
|
2012-10-10 21:08:32 +00:00
|
|
|
device types (such as logic analyzers, oscilloscopes, multimeters, and more).
|
2011-12-30 21:38:25 +00:00
|
|
|
|
|
|
|
libsigrok is a shared library written in C which provides the basic API
|
2012-10-08 16:52:36 +00:00
|
|
|
for talking to hardware and reading/writing the acquired data into various
|
|
|
|
input/output file formats.
|
2011-12-30 21:38:25 +00:00
|
|
|
|
|
|
|
|
2012-10-10 21:08:32 +00:00
|
|
|
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).
|
|
|
|
|
|
|
|
|
2011-12-30 21:38:25 +00:00
|
|
|
Requirements
|
|
|
|
------------
|
|
|
|
|
|
|
|
- git
|
2012-02-01 22:40:35 +00:00
|
|
|
- gcc (>= 4.0)
|
2012-01-28 20:26:56 +00:00
|
|
|
- make
|
|
|
|
- autoconf >= 2.63
|
|
|
|
- automake >= 1.11
|
|
|
|
- libtool
|
|
|
|
- pkg-config >= 0.22
|
2014-10-12 17:59:41 +00:00
|
|
|
- libglib >= 2.34.0
|
2013-10-16 16:10:29 +00:00
|
|
|
- libzip >= 0.10
|
2013-11-22 14:13:04 +00:00
|
|
|
- libserialport >= 0.1.0 (optional, used by some drivers)
|
2014-05-04 20:04:37 +00:00
|
|
|
- librevisa >= 0.0.20130812 (optional, used by some drivers)
|
2013-12-19 09:45:36 +00:00
|
|
|
- libusb-1.0 >= 1.0.16 (optional, used by some drivers)
|
2014-06-16 11:20:56 +00:00
|
|
|
- libftdi >= 0.16 or libftdi1 >= 1.0 (optional, used by some drivers)
|
2013-03-07 08:37:42 +00:00
|
|
|
- check >= 0.9.4 (optional, only needed to run unit tests)
|
2011-12-30 21:38:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
Building and installing
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
In order to get the libsigrok source code and build it, run:
|
|
|
|
|
2012-10-08 16:52:36 +00:00
|
|
|
$ git clone git://sigrok.org/libsigrok
|
|
|
|
$ cd libsigrok
|
2011-12-30 21:38:25 +00:00
|
|
|
$ ./autogen.sh
|
|
|
|
$ ./configure
|
|
|
|
$ make
|
|
|
|
|
|
|
|
For installing libsigrok:
|
|
|
|
|
|
|
|
$ make install
|
|
|
|
|
2013-03-17 11:53:08 +00:00
|
|
|
See INSTALL or the following wiki page for more (OS-specific) instructions:
|
2011-12-30 21:38:25 +00:00
|
|
|
|
2013-03-17 11:53:08 +00:00
|
|
|
http://sigrok.org/wiki/Building
|
2011-12-30 21:38:25 +00:00
|
|
|
|
|
|
|
|
2013-03-13 09:33:17 +00:00
|
|
|
Device-specific issues
|
|
|
|
----------------------
|
2012-05-30 20:23:36 +00:00
|
|
|
|
2013-03-13 09:33:17 +00:00
|
|
|
Please check README.devices for some notes and hints about device- or
|
|
|
|
driver-specific issues to be aware of.
|
2012-05-30 20:23:36 +00:00
|
|
|
|
|
|
|
|
2013-03-13 09:33:17 +00:00
|
|
|
Firmware
|
|
|
|
--------
|
2012-05-30 20:23:36 +00:00
|
|
|
|
2013-03-13 09:33:17 +00:00
|
|
|
Some devices supported by libsigrok need a firmware to be uploaded before the
|
|
|
|
device can be used. See README.devices for details.
|
2012-05-30 20:23:36 +00:00
|
|
|
|
|
|
|
|
2013-04-26 11:35:19 +00:00
|
|
|
Copyright and license
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
libsigrok is licensed under the terms of the GNU General Public License
|
|
|
|
(GPL), version 3 or later.
|
|
|
|
|
|
|
|
While some individual source code files are licensed under the GPLv2+, and
|
|
|
|
some files are licensed under the GPLv3+, this doesn't change the fact that
|
|
|
|
the library as a whole is licensed under the terms of the GPLv3+.
|
|
|
|
|
|
|
|
Please see the individual source files for the full list of copyright holders.
|
|
|
|
|
|
|
|
|
2014-07-22 21:54:18 +00:00
|
|
|
Mailing list
|
|
|
|
------------
|
2011-12-30 21:38:25 +00:00
|
|
|
|
|
|
|
https://lists.sourceforge.net/lists/listinfo/sigrok-devel
|
|
|
|
|
|
|
|
|
|
|
|
IRC
|
|
|
|
---
|
|
|
|
|
|
|
|
You can find the sigrok developers in the #sigrok IRC channel on Freenode.
|
|
|
|
|
|
|
|
|
|
|
|
Website
|
|
|
|
-------
|
|
|
|
|
2012-10-10 21:08:32 +00:00
|
|
|
http://sigrok.org/wiki/Libsigrok
|
2011-12-30 21:38:25 +00:00
|
|
|
|