]> sigrok.org Git - libsigrok.git/blame - README
Add a testsuite for libsigrok.
[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
30 - git
1a081ca6 31 - gcc (>= 4.0)
ef7228ba
UH
32 - make
33 - autoconf >= 2.63
34 - automake >= 1.11
35 - libtool
36 - pkg-config >= 0.22
e21e8463 37 - libglib >= 2.28.0
13177edb 38 - libzip >= 0.8
294245ec
UH
39 - libusb-1.0 >= 1.0.9 (optional, used by most drivers)
40 - libftdi >= 0.16 (optional, used by some drivers)
41 - libudev >= 151 (optional, used by some drivers)
42 - libasound / alsa-lib >= 1.0 (optional, only used by the alsa driver)
79bb0e97 43 - check >= 0.9.4 (optional, only needed to run unit tests)
13177edb
UH
44
45
46Building and installing
47-----------------------
48
49In order to get the libsigrok source code and build it, run:
50
a5b2293f
BV
51 $ git clone git://sigrok.org/libsigrok
52 $ cd libsigrok
13177edb
UH
53 $ ./autogen.sh
54 $ ./configure
55 $ make
56
57For installing libsigrok:
58
59 $ make install
60
61Please see the following wiki pages for more detailed instructions:
62
63 http://sigrok.org/wiki/Linux
64 http://sigrok.org/wiki/Mac_OS_X
65 http://sigrok.org/wiki/Windows
66 http://sigrok.org/wiki/FreeBSD
67
68
f9a33a47
UH
69Firmware
70--------
71
72Some devices supported by libsigrok need a firmware to be uploaded before the
73device can be used.
74
75The default location where libsigrok expects the firmware files is:
76
77 $prefix/share/sigrok-firmware
78
79($prefix is usually /usr/local or /usr, depending on your ./configure options)
80
81For further information see:
82
83 http://sigrok.org/wiki/Firmware
84
85
13177edb
UH
86Mailing lists
87-------------
88
89There are two mailing lists for sigrok/libsigrok:
90
91 https://lists.sourceforge.net/lists/listinfo/sigrok-devel
92 https://lists.sourceforge.net/lists/listinfo/sigrok-commits
93
94
95IRC
96---
97
98You can find the sigrok developers in the #sigrok IRC channel on Freenode.
99
100
101Website
102-------
103
4a1c927f 104 http://sigrok.org/wiki/Libsigrok
13177edb 105