Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 1 | ------------------------------------------------------------------------------- |
| 2 | README |
| 3 | ------------------------------------------------------------------------------- |
| 4 | |
| 5 | The sigrok project aims at creating a portable, cross-platform, |
Bert Vermeulen | a5b2293 | 2012-10-08 18:52:36 +0200 | [diff] [blame] | 6 | Free/Libre/Open-Source signal analysis software suite that supports various |
Uwe Hermann | 4a1c927 | 2012-10-10 23:08:32 +0200 | [diff] [blame] | 7 | device types (such as logic analyzers, oscilloscopes, multimeters, and more). |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 8 | |
| 9 | libsigrok is a shared library written in C which provides the basic API |
Bert Vermeulen | a5b2293 | 2012-10-08 18:52:36 +0200 | [diff] [blame] | 10 | for talking to hardware and reading/writing the acquired data into various |
| 11 | input/output file formats. |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 12 | |
| 13 | |
Uwe Hermann | 4a1c927 | 2012-10-10 23:08:32 +0200 | [diff] [blame] | 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 | |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 27 | Requirements |
| 28 | ------------ |
| 29 | |
| 30 | - git |
Uwe Hermann | 1a081ca | 2012-02-01 23:40:35 +0100 | [diff] [blame] | 31 | - gcc (>= 4.0) |
Uwe Hermann | ef7228b | 2012-01-28 21:26:56 +0100 | [diff] [blame] | 32 | - make |
| 33 | - autoconf >= 2.63 |
| 34 | - automake >= 1.11 |
| 35 | - libtool |
| 36 | - pkg-config >= 0.22 |
Uwe Hermann | 8b4f0d6 | 2014-10-12 19:59:41 +0200 | [diff] [blame] | 37 | - libglib >= 2.34.0 |
Uwe Hermann | 8819bf5 | 2013-10-16 18:10:29 +0200 | [diff] [blame] | 38 | - libzip >= 0.10 |
Uwe Hermann | 330af0e | 2013-11-22 15:13:04 +0100 | [diff] [blame] | 39 | - libserialport >= 0.1.0 (optional, used by some drivers) |
Uwe Hermann | a9af7b1 | 2014-05-04 22:04:37 +0200 | [diff] [blame] | 40 | - librevisa >= 0.0.20130812 (optional, used by some drivers) |
Bert Vermeulen | 17e9317 | 2013-12-19 10:45:36 +0100 | [diff] [blame] | 41 | - libusb-1.0 >= 1.0.16 (optional, used by some drivers) |
Uwe Hermann | ab4458d | 2014-06-16 13:20:56 +0200 | [diff] [blame] | 42 | - libftdi >= 0.16 or libftdi1 >= 1.0 (optional, used by some drivers) |
Uwe Hermann | 79bb0e9 | 2013-03-07 09:37:42 +0100 | [diff] [blame] | 43 | - check >= 0.9.4 (optional, only needed to run unit tests) |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 44 | |
| 45 | |
| 46 | Building and installing |
| 47 | ----------------------- |
| 48 | |
| 49 | In order to get the libsigrok source code and build it, run: |
| 50 | |
Bert Vermeulen | a5b2293 | 2012-10-08 18:52:36 +0200 | [diff] [blame] | 51 | $ git clone git://sigrok.org/libsigrok |
| 52 | $ cd libsigrok |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 53 | $ ./autogen.sh |
| 54 | $ ./configure |
| 55 | $ make |
| 56 | |
| 57 | For installing libsigrok: |
| 58 | |
| 59 | $ make install |
| 60 | |
Uwe Hermann | ba642e8 | 2013-03-17 12:53:08 +0100 | [diff] [blame] | 61 | See INSTALL or the following wiki page for more (OS-specific) instructions: |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 62 | |
Uwe Hermann | ba642e8 | 2013-03-17 12:53:08 +0100 | [diff] [blame] | 63 | http://sigrok.org/wiki/Building |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 64 | |
| 65 | |
Uwe Hermann | c77ed44 | 2013-03-13 10:33:17 +0100 | [diff] [blame] | 66 | Device-specific issues |
| 67 | ---------------------- |
| 68 | |
| 69 | Please check README.devices for some notes and hints about device- or |
| 70 | driver-specific issues to be aware of. |
| 71 | |
| 72 | |
Uwe Hermann | f9a33a4 | 2012-05-30 22:23:36 +0200 | [diff] [blame] | 73 | Firmware |
| 74 | -------- |
| 75 | |
| 76 | Some devices supported by libsigrok need a firmware to be uploaded before the |
Uwe Hermann | c77ed44 | 2013-03-13 10:33:17 +0100 | [diff] [blame] | 77 | device can be used. See README.devices for details. |
Uwe Hermann | f9a33a4 | 2012-05-30 22:23:36 +0200 | [diff] [blame] | 78 | |
| 79 | |
Uwe Hermann | 6d03695 | 2013-04-26 13:35:19 +0200 | [diff] [blame] | 80 | Copyright and license |
| 81 | --------------------- |
| 82 | |
| 83 | libsigrok is licensed under the terms of the GNU General Public License |
| 84 | (GPL), version 3 or later. |
| 85 | |
| 86 | While some individual source code files are licensed under the GPLv2+, and |
| 87 | some files are licensed under the GPLv3+, this doesn't change the fact that |
| 88 | the library as a whole is licensed under the terms of the GPLv3+. |
| 89 | |
| 90 | Please see the individual source files for the full list of copyright holders. |
| 91 | |
| 92 | |
Uwe Hermann | b88c3e4 | 2014-07-22 23:54:18 +0200 | [diff] [blame] | 93 | Mailing list |
| 94 | ------------ |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 95 | |
| 96 | https://lists.sourceforge.net/lists/listinfo/sigrok-devel |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 97 | |
| 98 | |
| 99 | IRC |
| 100 | --- |
| 101 | |
| 102 | You can find the sigrok developers in the #sigrok IRC channel on Freenode. |
| 103 | |
| 104 | |
| 105 | Website |
| 106 | ------- |
| 107 | |
Uwe Hermann | 4a1c927 | 2012-10-10 23:08:32 +0200 | [diff] [blame] | 108 | http://sigrok.org/wiki/Libsigrok |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 109 | |