GitXplorerGitXplorer
W

libsigrok

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
2fcecba36d5171118a92bdf4a10e0d252f61ea93

add missing ax_python_module.m4

WWurstnase committed 6 years ago
Unverified
6449b2e035b8d6ceaa7120c36b69a5be15113ab1

demo: Minor cosmetics.

uuwehermann committed 6 years ago
Unverified
1c0e1baaaaf0314f49470fb49a4f5e6ddc0ba1a1

korad-kaxxxxp: Add another KA3005P with 0xBC as extra byte in the model ID.

kknarfS committed 6 years ago
Unverified
d1a3f3be458295e4e440231e1bf06fae46bb1449

korad-kaxxxxp: Add SR_MQFLAG_DC flag to the current channel package.

kknarfS committed 6 years ago
Unverified
8107a9a650f4db08423c3fc79c1b7e7d826ffd7f

scpi: Add connenction_id() function to all scpi drivers.

kknarfS committed 6 years ago
Unverified
9618fde4226a7cf1ab891be6d5581b41e071a0af

demo: Get/Set new config key offset.

kknarfS committed 6 years ago

README

The README file for this repository.

README

The sigrok project aims at creating a portable, cross-platform, Free/Libre/Open-Source signal analysis software suite that supports various device types (such as logic analyzers, oscilloscopes, multimeters, and more).

libsigrok is a shared library written in C which provides the basic API for talking to hardware and reading/writing the acquired data into various input/output file formats.

Status

libsigrok is in a usable state and has had official tarball releases.

While the API can change from release to release, this will always be properly documented and reflected in the package version number and in the shared library / libtool / .so-file version numbers.

However, there are NO guarantees at all for stable APIs in git snapshots! Distro packagers should only use released tarballs (no git snapshots).

Requirements

Requirements for the C library:

  • git (only needed when building from git)
  • gcc (>= 4.0) or clang
  • make
  • autoconf >= 2.63 (only needed when building from git)
  • automake >= 1.11 (only needed when building from git)
  • libtool (only needed when building from git)
  • pkg-config >= 0.22
  • libglib >= 2.32.0
  • libzip >= 0.10
  • libserialport >= 0.1.1 (optional, used by some drivers)
  • librevisa >= 0.0.20130412 (optional, used by some drivers)
  • libusb-1.0 >= 1.0.16 (optional, used by some drivers)
  • libftdi1 >= 1.0 (optional, used by some drivers)
  • libgpib (optional, used by some drivers)
  • libieee1284 (optional, used by some drivers)
  • check >= 0.9.4 (optional, only needed to run unit tests)
  • doxygen (optional, only needed for the C API docs)
  • graphviz (optional, only needed for the C API docs)

Requirements for the C++ bindings:

  • libsigrok >= 0.4.0 (the libsigrok C library, see above)
  • A C++ compiler with C++11 support (-std=c++11 option), e.g.
    • g++ (>= 4.8.1)
    • clang++ (>= 3.3)
  • autoconf-archive (only needed when building from git)
  • doxygen (required for building the bindings, not only for C++ API docs!)
  • graphviz (optional, only needed for the C++ API docs)
  • Python (2 or 3) executable (development files are not needed)
  • glibmm-2.4 (>= 2.32.0)

Requirements for the Python bindings:

  • libsigrokcxx >= 0.4.0 (the libsigrok C++ bindings, see above)
  • Python >= 2.7 or Python >= 3 (including development files!)
  • Python setuptools (for Python 2 or 3)
  • pygobject >= 3.0.0 (for Python 2 or 3), a.k.a python-gi
  • numpy (for Python 2 or 3)
  • SWIG >= 2.0.0
  • doxygen (optional, only needed for the Python API docs)
  • graphviz (optional, only needed for the Python API docs)
  • doxypy (optional, only needed for the Python API docs)

Requirements for the Ruby bindings:

  • libsigrokcxx >= 0.4.0 (the libsigrok C++ bindings, see above)
  • Ruby >= 1.9.3 (including development files!)
  • SWIG >= 3.0.8
  • YARD (optional, only needed for the Ruby API docs)

Requirements for the Java bindings:

  • libsigrokcxx >= 0.4.0 (the libsigrok C++ bindings, see above)
  • SWIG >= 2.0.0
  • Java JDK (for JNI includes and the javac/jar binaries)
  • doxygen (optional, only needed for the Java API docs)
  • graphviz (optional, only needed for the Java API docs)

Building and installing

In order to get the libsigrok source code and build it, run:

$ git clone git://sigrok.org/libsigrok $ cd libsigrok $ ./autogen.sh $ ./configure $ make

For installing libsigrok:

$ make install

See INSTALL or the following wiki page for more (OS-specific) instructions:

http://sigrok.org/wiki/Building

Please also check the following wiki page in case you encounter any issues:

http://sigrok.org/wiki/Building#FAQ

Device-specific issues

Please check README.devices for some notes and hints about device- or driver-specific issues to be aware of.

Firmware

Some devices supported by libsigrok need a firmware to be uploaded before the device can be used. See README.devices for details.

Copyright and license

libsigrok is licensed under the terms of the GNU General Public License (GPL), version 3 or later.

While some individual source code files are licensed under the GPLv2+, and some files are licensed under the GPLv3+, this doesn't change the fact that the library as a whole is licensed under the terms of the GPLv3+.

Please see the individual source files for the full list of copyright holders.

Mailing list

https://lists.sourceforge.net/lists/listinfo/sigrok-devel

IRC

You can find the sigrok developers in the #sigrok IRC channel on Freenode.

Website

http://sigrok.org/wiki/Libsigrok