]> sigrok.org Git - libsigrok.git/blame - README
asix-sigma: Adjust clock configuration upon acquisition start
[libsigrok.git] / README
CommitLineData
13177edb
UH
1-------------------------------------------------------------------------------
2README
3-------------------------------------------------------------------------------
4
5The sigrok project aims at creating a portable, cross-platform,
a5b2293f 6Free/Libre/Open-Source signal analysis software suite that supports various
4a1c927f 7device types (such as logic analyzers, oscilloscopes, multimeters, and more).
13177edb
UH
8
9libsigrok is a shared library written in C which provides the basic API
a5b2293f
BV
10for talking to hardware and reading/writing the acquired data into various
11input/output file formats.
13177edb
UH
12
13
4a1c927f
UH
14Status
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
13177edb
UH
27Requirements
28------------
29
0d6478d7
UH
30Requirements for the C library:
31
32 - git (only needed when building from git)
33 - gcc (>= 4.0) or clang
ef7228ba 34 - make
0d6478d7
UH
35 - autoconf >= 2.63 (only needed when building from git)
36 - automake >= 1.11 (only needed when building from git)
37 - libtool (only needed when building from git)
ef7228ba 38 - pkg-config >= 0.22
5801d558 39 - libglib >= 2.32.0
a6dc3dac 40 - libzip >= 0.10
8d801467 41 - libserialport >= 0.1.1 (optional, used by some drivers)
d5062672 42 - librevisa >= 0.0.20130412 (optional, used by some drivers)
17e9317b 43 - libusb-1.0 >= 1.0.16 (optional, used by some drivers)
ab4458df 44 - libftdi >= 0.16 or libftdi1 >= 1.0 (optional, used by some drivers)
0d6478d7 45 - libgpib (optional, used by some drivers)
db5449b9 46 - libieee1284 (optional, used by some drivers)
79bb0e97 47 - check >= 0.9.4 (optional, only needed to run unit tests)
0d6478d7
UH
48 - doxygen (optional, only needed for the C API docs)
49 - graphviz (optional, only needed for the C API docs)
50
51Requirements for the C++ bindings:
52
b90400ed 53 - libsigrok >= 0.4.0 (the libsigrok C library, see above)
0d6478d7 54 - A C++ compiler with C++11 support (-std=c++11 option), e.g.
07d4e863
UH
55 - g++ (>= 4.8.1)
56 - clang++ (>= 3.3)
0d6478d7
UH
57 - autoconf-archive (only needed when building from git)
58 - doxygen (required for building the bindings, not only for C++ API docs!)
59 - graphviz (optional, only needed for the C++ API docs)
60 - Python (2 or 3) executable (development files are not needed)
61 - glibmm-2.4 (>= 2.32.0)
62
63Requirements for the Python bindings:
64
b90400ed 65 - libsigrokcxx >= 0.4.0 (the libsigrok C++ bindings, see above)
0d6478d7
UH
66 - Python >= 2.7 or Python >= 3 (including development files!)
67 - Python setuptools (for Python 2 or 3)
68 - pygobject >= 3.0.0 (for Python 2 or 3), a.k.a python-gi
69 - numpy (for Python 2 or 3)
e26f5af3 70 - SWIG >= 2.0.0
0d6478d7
UH
71 - doxygen (optional, only needed for the Python API docs)
72 - graphviz (optional, only needed for the Python API docs)
73 - doxypy (optional, only needed for the Python API docs)
74
27d44cf6
AJ
75Requirements for the Ruby bindings:
76
b90400ed 77 - libsigrokcxx >= 0.4.0 (the libsigrok C++ bindings, see above)
27d44cf6
AJ
78 - Ruby >= 1.9.3 (including development files!)
79 - SWIG >= 3.0.8
80 - YARD (optional, only needed for the Ruby API docs)
81
0d6478d7
UH
82Requirements for the Java bindings:
83
b90400ed 84 - libsigrokcxx >= 0.4.0 (the libsigrok C++ bindings, see above)
e26f5af3 85 - SWIG >= 2.0.0
0d6478d7
UH
86 - Java JDK (for JNI includes and the javac/jar binaries)
87 - doxygen (optional, only needed for the Java API docs)
88 - graphviz (optional, only needed for the Java API docs)
13177edb
UH
89
90
91Building and installing
92-----------------------
93
94In order to get the libsigrok source code and build it, run:
95
a5b2293f
BV
96 $ git clone git://sigrok.org/libsigrok
97 $ cd libsigrok
13177edb
UH
98 $ ./autogen.sh
99 $ ./configure
100 $ make
101
102For installing libsigrok:
103
104 $ make install
105
ba642e86 106See INSTALL or the following wiki page for more (OS-specific) instructions:
13177edb 107
ba642e86 108 http://sigrok.org/wiki/Building
13177edb 109
3fc66eda
UH
110Please also check the following wiki page in case you encounter any issues:
111
112 http://sigrok.org/wiki/Building#FAQ
113
13177edb 114
c77ed446
UH
115Device-specific issues
116----------------------
f9a33a47 117
c77ed446
UH
118Please check README.devices for some notes and hints about device- or
119driver-specific issues to be aware of.
f9a33a47 120
f9a33a47 121
c77ed446
UH
122Firmware
123--------
f9a33a47 124
c77ed446
UH
125Some devices supported by libsigrok need a firmware to be uploaded before the
126device can be used. See README.devices for details.
f9a33a47
UH
127
128
6d036959
UH
129Copyright and license
130---------------------
131
132libsigrok is licensed under the terms of the GNU General Public License
133(GPL), version 3 or later.
134
135While some individual source code files are licensed under the GPLv2+, and
136some files are licensed under the GPLv3+, this doesn't change the fact that
137the library as a whole is licensed under the terms of the GPLv3+.
138
139Please see the individual source files for the full list of copyright holders.
140
141
b88c3e49
UH
142Mailing list
143------------
13177edb
UH
144
145 https://lists.sourceforge.net/lists/listinfo/sigrok-devel
13177edb
UH
146
147
148IRC
149---
150
151You can find the sigrok developers in the #sigrok IRC channel on Freenode.
152
153
154Website
155-------
156
4a1c927f 157 http://sigrok.org/wiki/Libsigrok
13177edb 158