blob: d0d8f1a8b52b0cb434a0c8b80778820b98963776 [file] [log] [blame]
Uwe Hermann13177ed2011-12-30 22:38:25 +01001-------------------------------------------------------------------------------
2README
3-------------------------------------------------------------------------------
4
5The sigrok project aims at creating a portable, cross-platform,
Bert Vermeulena5b22932012-10-08 18:52:36 +02006Free/Libre/Open-Source signal analysis software suite that supports various
Uwe Hermann4a1c9272012-10-10 23:08:32 +02007device types (such as logic analyzers, oscilloscopes, multimeters, and more).
Uwe Hermann13177ed2011-12-30 22:38:25 +01008
9libsigrok is a shared library written in C which provides the basic API
Bert Vermeulena5b22932012-10-08 18:52:36 +020010for talking to hardware and reading/writing the acquired data into various
11input/output file formats.
Uwe Hermann13177ed2011-12-30 22:38:25 +010012
13
Uwe Hermann4a1c9272012-10-10 23:08:32 +020014Status
15------
16
17libsigrok is in a usable state and has had official tarball releases.
18
19While the API can change from release to release, this will always be
20properly documented and reflected in the package version number and
21in the shared library / libtool / .so-file version numbers.
22
23However, there are _NO_ guarantees at all for stable APIs in git snapshots!
24Distro packagers should only use released tarballs (no git snapshots).
25
26
Uwe Hermann13177ed2011-12-30 22:38:25 +010027Requirements
28------------
29
30 - git
Uwe Hermann1a081ca2012-02-01 23:40:35 +010031 - gcc (>= 4.0)
Uwe Hermannef7228b2012-01-28 21:26:56 +010032 - make
33 - autoconf >= 2.63
34 - automake >= 1.11
35 - libtool
36 - pkg-config >= 0.22
Uwe Hermann8b4f0d62014-10-12 19:59:41 +020037 - libglib >= 2.34.0
Uwe Hermann8819bf52013-10-16 18:10:29 +020038 - libzip >= 0.10
Uwe Hermann330af0e2013-11-22 15:13:04 +010039 - libserialport >= 0.1.0 (optional, used by some drivers)
Uwe Hermanna9af7b12014-05-04 22:04:37 +020040 - librevisa >= 0.0.20130812 (optional, used by some drivers)
Bert Vermeulen17e93172013-12-19 10:45:36 +010041 - libusb-1.0 >= 1.0.16 (optional, used by some drivers)
Uwe Hermannab4458d2014-06-16 13:20:56 +020042 - libftdi >= 0.16 or libftdi1 >= 1.0 (optional, used by some drivers)
Uwe Hermann79bb0e92013-03-07 09:37:42 +010043 - check >= 0.9.4 (optional, only needed to run unit tests)
Uwe Hermann13177ed2011-12-30 22:38:25 +010044
45
46Building and installing
47-----------------------
48
49In order to get the libsigrok source code and build it, run:
50
Bert Vermeulena5b22932012-10-08 18:52:36 +020051 $ git clone git://sigrok.org/libsigrok
52 $ cd libsigrok
Uwe Hermann13177ed2011-12-30 22:38:25 +010053 $ ./autogen.sh
54 $ ./configure
55 $ make
56
57For installing libsigrok:
58
59 $ make install
60
Uwe Hermannba642e82013-03-17 12:53:08 +010061See INSTALL or the following wiki page for more (OS-specific) instructions:
Uwe Hermann13177ed2011-12-30 22:38:25 +010062
Uwe Hermannba642e82013-03-17 12:53:08 +010063 http://sigrok.org/wiki/Building
Uwe Hermann13177ed2011-12-30 22:38:25 +010064
65
Uwe Hermannc77ed442013-03-13 10:33:17 +010066Device-specific issues
67----------------------
68
69Please check README.devices for some notes and hints about device- or
70driver-specific issues to be aware of.
71
72
Uwe Hermannf9a33a42012-05-30 22:23:36 +020073Firmware
74--------
75
76Some devices supported by libsigrok need a firmware to be uploaded before the
Uwe Hermannc77ed442013-03-13 10:33:17 +010077device can be used. See README.devices for details.
Uwe Hermannf9a33a42012-05-30 22:23:36 +020078
79
Uwe Hermann6d036952013-04-26 13:35:19 +020080Copyright and license
81---------------------
82
83libsigrok is licensed under the terms of the GNU General Public License
84(GPL), version 3 or later.
85
86While some individual source code files are licensed under the GPLv2+, and
87some files are licensed under the GPLv3+, this doesn't change the fact that
88the library as a whole is licensed under the terms of the GPLv3+.
89
90Please see the individual source files for the full list of copyright holders.
91
92
Uwe Hermannb88c3e42014-07-22 23:54:18 +020093Mailing list
94------------
Uwe Hermann13177ed2011-12-30 22:38:25 +010095
96 https://lists.sourceforge.net/lists/listinfo/sigrok-devel
Uwe Hermann13177ed2011-12-30 22:38:25 +010097
98
99IRC
100---
101
102You can find the sigrok developers in the #sigrok IRC channel on Freenode.
103
104
105Website
106-------
107
Uwe Hermann4a1c9272012-10-10 23:08:32 +0200108 http://sigrok.org/wiki/Libsigrok
Uwe Hermann13177ed2011-12-30 22:38:25 +0100109