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
|
|
|
|
------------
|
|
|
|
|
2014-12-03 08:09:31 +00:00
|
|
|
Requirements for the C library:
|
|
|
|
|
|
|
|
- git (only needed when building from git)
|
|
|
|
- gcc (>= 4.0) or clang
|
2012-01-28 20:26:56 +00:00
|
|
|
- make
|
2014-12-03 08:09:31 +00:00
|
|
|
- autoconf >= 2.63 (only needed when building from git)
|
|
|
|
- automake >= 1.11 (only needed when building from git)
|
|
|
|
- libtool (only needed when building from git)
|
2012-01-28 20:26:56 +00:00
|
|
|
- pkg-config >= 0.22
|
2015-01-29 07:51:31 +00:00
|
|
|
- libglib >= 2.32.0
|
2015-10-30 14:07:25 +00:00
|
|
|
- libzip >= 0.10
|
2015-04-19 16:39:35 +00:00
|
|
|
- libserialport >= 0.1.1 (optional, used by some drivers)
|
2015-01-23 22:55:14 +00:00
|
|
|
- librevisa >= 0.0.20130412 (optional, used by some drivers)
|
2013-12-19 09:45:36 +00:00
|
|
|
- libusb-1.0 >= 1.0.16 (optional, used by some drivers)
|
2017-03-26 14:48:36 +00:00
|
|
|
- hidapi >= 0.8.0 (optional, used for some HID based "serial cables")
|
2018-12-30 18:18:10 +00:00
|
|
|
- bluez >= 4.0 (optional, used for Bluetooth communication)
|
2017-09-17 14:55:50 +00:00
|
|
|
- libftdi1 >= 1.0 (optional, used by some drivers)
|
2014-12-03 08:09:31 +00:00
|
|
|
- libgpib (optional, used by some drivers)
|
2016-01-29 17:30:32 +00:00
|
|
|
- libieee1284 (optional, used by some drivers)
|
2013-03-07 08:37:42 +00:00
|
|
|
- check >= 0.9.4 (optional, only needed to run unit tests)
|
2014-12-03 08:09:31 +00:00
|
|
|
- doxygen (optional, only needed for the C API docs)
|
|
|
|
- graphviz (optional, only needed for the C API docs)
|
|
|
|
|
|
|
|
Requirements for the C++ bindings:
|
|
|
|
|
2016-01-29 17:31:00 +00:00
|
|
|
- libsigrok >= 0.4.0 (the libsigrok C library, see above)
|
2014-12-03 08:09:31 +00:00
|
|
|
- A C++ compiler with C++11 support (-std=c++11 option), e.g.
|
2017-03-31 17:47:18 +00:00
|
|
|
- g++ (>= 4.8.1)
|
|
|
|
- clang++ (>= 3.3)
|
2014-12-03 08:09:31 +00:00
|
|
|
- autoconf-archive (only needed when building from git)
|
|
|
|
- doxygen (required for building the bindings, not only for C++ API docs!)
|
|
|
|
- graphviz (optional, only needed for the C++ API docs)
|
|
|
|
- Python (2 or 3) executable (development files are not needed)
|
|
|
|
- glibmm-2.4 (>= 2.32.0)
|
|
|
|
|
|
|
|
Requirements for the Python bindings:
|
|
|
|
|
2016-01-29 17:31:00 +00:00
|
|
|
- libsigrokcxx >= 0.4.0 (the libsigrok C++ bindings, see above)
|
2014-12-03 08:09:31 +00:00
|
|
|
- Python >= 2.7 or Python >= 3 (including development files!)
|
|
|
|
- Python setuptools (for Python 2 or 3)
|
|
|
|
- pygobject >= 3.0.0 (for Python 2 or 3), a.k.a python-gi
|
|
|
|
- numpy (for Python 2 or 3)
|
2014-12-06 21:27:47 +00:00
|
|
|
- SWIG >= 2.0.0
|
2014-12-03 08:09:31 +00:00
|
|
|
- doxygen (optional, only needed for the Python API docs)
|
|
|
|
- graphviz (optional, only needed for the Python API docs)
|
|
|
|
- doxypy (optional, only needed for the Python API docs)
|
|
|
|
|
2016-01-11 13:31:47 +00:00
|
|
|
Requirements for the Ruby bindings:
|
|
|
|
|
2016-01-29 17:31:00 +00:00
|
|
|
- libsigrokcxx >= 0.4.0 (the libsigrok C++ bindings, see above)
|
2016-01-11 13:31:47 +00:00
|
|
|
- Ruby >= 1.9.3 (including development files!)
|
|
|
|
- SWIG >= 3.0.8
|
|
|
|
- YARD (optional, only needed for the Ruby API docs)
|
|
|
|
|
2014-12-03 08:09:31 +00:00
|
|
|
Requirements for the Java bindings:
|
|
|
|
|
2016-01-29 17:31:00 +00:00
|
|
|
- libsigrokcxx >= 0.4.0 (the libsigrok C++ bindings, see above)
|
2014-12-06 21:27:47 +00:00
|
|
|
- SWIG >= 2.0.0
|
2014-12-03 08:09:31 +00:00
|
|
|
- Java JDK (for JNI includes and the javac/jar binaries)
|
|
|
|
- doxygen (optional, only needed for the Java API docs)
|
|
|
|
- graphviz (optional, only needed for the Java API docs)
|
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
|
|
|
|
2015-01-03 16:38:06 +00:00
|
|
|
Please also check the following wiki page in case you encounter any issues:
|
|
|
|
|
|
|
|
http://sigrok.org/wiki/Building#FAQ
|
|
|
|
|
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
|
|
|
|