/libad9166-iio

Primary LanguageCMakeGNU Lesser General Public License v2.1LGPL-2.1

libad9166-iio

This is a simple library used for userspace,

  • which applies calibration gain and offset for a user-given frequency

Docs

Doxygen-based documentation is available at: http://analogdevicesinc.github.io/libad9166-iio/

License : License Latest Release : GitHub release Downloads : Github All Releases

As with many open source packages, we use GitHub to do develop and maintain the source, and Travis CI and Appveyor for continuous integration.

  • If you want to just use libad9166-iio, we suggest using the latest release.
  • If you think you have found a bug in the release, or need a feature which isn't in the release, try the latest untested binaries from the master branch. We provide builds for a few operating systems. If you need something else, we can most likely add that -- just ask.
Operating System GitHub master status Version Installer Package tarball or zip
Windows Windows Status Windows 10
Windows 8.1
Windows 8
Windows 7
Latest Windows installer Win32 : Latest 32-bit Windows zip
Win64: Latest 64-bit Windows zip
OS X OSX Status OS X Mojave
(v 10.14)
OS-X package 10.14 OS-X tarball 10.14
OS X High Sierra
(v 10.13)
OS-X package 10.13 OS-X tarball 10.13
macOS Sierra
(v 10.12)
OS-X package 10.12 OS-X tarball 10.12
Linux Linux Status Ubuntu Bionic Beaver
(v 18.04)1
Debian RPM File tar.gz
Ubuntu Xenial Xerus
(v 16.04)1
Debian RPM File tar.gz file
CentOS 7 RPM File Debian tar.gz
CentOS 6 RPM File Debian tar.gz

If you use it, and like it - please let us know. If you use it, and hate it - please let us know that too. The goal of the project is to try to make Linux IIO devices easier to use on a variety of platforms. If we aren't doing that - we will try to make it better.

Building & Installing

should be a quick matter of cmake, then make, then make install:

rgetz@pinky:~/libad9166-iio$ cmake ./CMakeLists.txt
-- The C compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rgetz/libad9166-iio
rgetz@pinky:~/libad9166-iio$ make
Scanning dependencies of target ad9166
[100%] Building C object CMakeFiles/ad9166.dir/ad9166_multichip_sync.c.o
Linking C shared library libad9166.so
Copying OS X content Headers/ad9166.h
[100%] Built target ad9166
rgetz@pinky:~/libad9166-iio$ sudo make install
[sudo] password for rgetz: 
[100%] Built target ad9166
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/pkgconfig/libad9166.pc
-- Installing: /usr/local/lib/libad9166.so.0.1
-- Installing: /usr/local/lib/libad9166.so.0
-- Installing: /usr/local/lib/libad9166.so
-- Installing: /usr/local/include/ad9166.h