]>
Commit | Line | Data |
---|---|---|
13177edb UH |
1 | ------------------------------------------------------------------------------- |
2 | README | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
5 | The sigrok project aims at creating a portable, cross-platform, | |
a5b2293f | 6 | Free/Libre/Open-Source signal analysis software suite that supports various |
4a1c927f | 7 | device types (such as logic analyzers, oscilloscopes, multimeters, and more). |
13177edb UH |
8 | |
9 | libsigrok is a shared library written in C which provides the basic API | |
a5b2293f BV |
10 | for talking to hardware and reading/writing the acquired data into various |
11 | input/output file formats. | |
13177edb UH |
12 | |
13 | ||
4a1c927f UH |
14 | Status |
15 | ------ | |
16 | ||
17 | libsigrok is in a usable state and has had official tarball releases. | |
18 | ||
19 | While the API can change from release to release, this will always be | |
20 | properly documented and reflected in the package version number and | |
21 | in the shared library / libtool / .so-file version numbers. | |
22 | ||
23 | However, there are _NO_ guarantees at all for stable APIs in git snapshots! | |
24 | Distro packagers should only use released tarballs (no git snapshots). | |
25 | ||
26 | ||
13177edb UH |
27 | Requirements |
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) | |
13177edb UH |
43 | |
44 | ||
45 | Building and installing | |
46 | ----------------------- | |
47 | ||
48 | In order to get the libsigrok source code and build it, run: | |
49 | ||
a5b2293f BV |
50 | $ git clone git://sigrok.org/libsigrok |
51 | $ cd libsigrok | |
13177edb UH |
52 | $ ./autogen.sh |
53 | $ ./configure | |
54 | $ make | |
55 | ||
56 | For installing libsigrok: | |
57 | ||
58 | $ make install | |
59 | ||
60 | Please see the following wiki pages for more detailed instructions: | |
61 | ||
62 | http://sigrok.org/wiki/Linux | |
63 | http://sigrok.org/wiki/Mac_OS_X | |
64 | http://sigrok.org/wiki/Windows | |
65 | http://sigrok.org/wiki/FreeBSD | |
66 | ||
67 | ||
f9a33a47 UH |
68 | Firmware |
69 | -------- | |
70 | ||
71 | Some devices supported by libsigrok need a firmware to be uploaded before the | |
72 | device can be used. | |
73 | ||
74 | The default location where libsigrok expects the firmware files is: | |
75 | ||
76 | $prefix/share/sigrok-firmware | |
77 | ||
78 | ($prefix is usually /usr/local or /usr, depending on your ./configure options) | |
79 | ||
80 | For further information see: | |
81 | ||
82 | http://sigrok.org/wiki/Firmware | |
83 | ||
84 | ||
13177edb UH |
85 | Mailing lists |
86 | ------------- | |
87 | ||
88 | There are two mailing lists for sigrok/libsigrok: | |
89 | ||
90 | https://lists.sourceforge.net/lists/listinfo/sigrok-devel | |
91 | https://lists.sourceforge.net/lists/listinfo/sigrok-commits | |
92 | ||
93 | ||
94 | IRC | |
95 | --- | |
96 | ||
97 | You can find the sigrok developers in the #sigrok IRC channel on Freenode. | |
98 | ||
99 | ||
100 | Website | |
101 | ------- | |
102 | ||
4a1c927f | 103 | http://sigrok.org/wiki/Libsigrok |
13177edb | 104 |