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
|
2012-06-22 23:17:36 +00:00
|
|
|
- libglib >= 2.28.0
|
2011-12-30 21:38:25 +00:00
|
|
|
- libzip >= 0.8
|
2013-01-19 18:13:52 +00:00
|
|
|
- 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)
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
2012-05-30 20:23:36 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2011-12-30 21:38:25 +00:00
|
|
|
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
|
|
|
|
-------
|
|
|
|
|
2012-10-10 21:08:32 +00:00
|
|
|
http://sigrok.org/wiki/Libsigrok
|
2011-12-30 21:38:25 +00:00
|
|
|
|