Skip to content

A cross platform library for interfacing with local and remote Linux IIO devices

License

Notifications You must be signed in to change notification settings

catkira/libiio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Important note (2023-08-22)

Since August 22th 2023, the "main" branch of libiio contains what will eventually become libiio v1.0. It features a brand new API, which is incompatible with libiio v0.25 and older. Have a look at the wiki for a description of the API changes.

The old v0.x API can still be found in the libiio-v0 branch. Libiio v0.x is now considered legacy, and as such, only important bug fixes will be accepted into this branch.

Old programs compiled against libiio v0.x will still be able to run with libiio v1.0 and newer, as it provides a compatibility layer.

libiio

Library for interfacing with Linux IIO devices

libiio is used to interface to the Linux Industrial Input/Output (IIO) Subsystem. The Linux IIO subsystem is intended to provide support for devices that in some sense are analog to digital or digital to analog converters (ADCs, DACs). This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs, Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity Sensors, Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital Synthesis), PLLs (Phase Locked Loops), Variable/Programmable Gain Amplifiers (VGA, PGA), and RF transceivers. You can use libiio natively on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target from a host Linux, Windows or MAC over USB or Ethernet or Serial.

Although libiio was primarily developed by Analog Devices Inc., it is an active open source library, which many people have contributed to. The library is released under the GNU Lesser General Public License (LGPL), version 2.1 or (at your option) any later version, this open-source license allows anyone to use the library, on any vendors processor/FPGA/SoC, which may be controlling any vendors peripheral device (ADC, DAC, etc) either locally or remotely. This includes closed or open-source, commercial or non-commercial applications (subject to the LGPL license freedoms, obligations and restrictions). The examples and test applications (sometimes referred to as the iio-utils) are released separately under the GNU General Public License (GPL) version 2.0 (at your option) any later version.

Library License : Library License Tests/Examples License : Application License Latest Release : GitHub release Downloads : Github All Releases

Scans : Coverity Scan Build Status Release docs: Documentation Issues : open bugs closed bugs

Support:
If you have a question about libiio and an Analog Devices IIO kernel driver please ask on : EngineerZone. If you have a question about a non-ADI devices, please ask it on github.

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

  • If you want to just use libiio, 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 main branch and check out the documentation based on the main 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 main status Version Primary Installer Package Alternative Package, tarball or zip
Windows Build Status Windows-64 Server 2019 Latest Windows installer
Build Status
Latest Windows zip
Build Status Windows-64 Server 2022 (libiio-setup.exe works for both Windows Server 2019 and Windows Server 2022) Latest Windows zip
OS X Build Status macOS Ventura
(v 13 x64)
OS-X package 13-x64 OS-X tarball 13-x64
Build Status macOS Ventura
(v 13 arm64)
OS-X package 13-arm64 OS-X tarball 13-arm64
Build Status macOS Monterey
(v 12)
OS-X package 12 OS-X tarball 12
Unsupported. Last artifacts from May 31, 2024 macOS Big Sur
(v 11)
OS-X package 11 OS-X tarball 11
Unsupported. Last artifacts from Sept 6, 2022 macOS Catalina
(v 10.15)
OS-X package 10.15 OS-X tarball 10.15
Linux Build Status Ubuntu Jammy Jellyfish
(v 22.04)1
Debian Linux tarball
Build Status Ubuntu Focal Fossa
(v 20.04)1
Debian Linux tarball
Unsupported. Last artifact from May 31, 2024 Ubuntu Bionic Beaver
(v 18.04)1
Debian Linux tarball
Build Status Fedora 34 RPM File Linux tarball
Build Status Fedora 28 RPM File Linux tarball
Build Status CentOS 7 RPM File Linux tarball
Build Status Debian Bullseye Debian Linux tarball
Build Status Debian Bookworm Debian Linux tarball
Build Status openSUSE 15.4 Debian Linux tarball
ARM Build Status Ubuntu-ppc64le Debian Linux tarball
Build Status Ubuntu-x390x Debian Linux tarball
Build Status Ubuntu-arm64v8 Debian Linux tarball
Build Status Ubuntu-arm32v7 Debian Linux tarball
Build Status Debian Bookworm-arm Debian Linux tarball
MinGW Build Status Windows-MinGW-W64 Latest Windows zip

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.

Feedback is appreciated (in order of preference):

Weblinks:

  1. The Ubuntu packages are known to work on their Debian counterpart releases.

About

A cross platform library for interfacing with local and remote Linux IIO devices

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 71.3%
  • Python 8.3%
  • C# 6.9%
  • CMake 5.8%
  • Shell 3.1%
  • C++ 2.6%
  • Other 2.0%