
libiio
Analog Devices' IIO library: stream ADC, DAC, IMU and RF transceiver data to IIO clients on a host.
- Follows branch
main: eachwest updatewill get its latest commits. To stay on one version, it is recommended to use a release tag.
Install
# From the workspace root
curl -fsSL https://kartben.github.io/windrose/m/libiio.yaml \
-o zephyr/submanifests/libiio.yaml
west update libiio
# From the workspace root
Invoke-WebRequest https://kartben.github.io/windrose/m/libiio.yaml `
-OutFile zephyr/submanifests/libiio.yaml
west update libiio
- name: libiio url: https://github.com/analogdevicesinc/libiio revision: main path: modules/lib/libiio
Add to projects in your west.yml, then run west update libiio.
Details
- Revision
- main
- License
- MIT
- Maintainers
- @analogdevicesinc
- Last commit
- today
- Includes
- Boards, DT bindings, Snippets, Samples, Tests
About
libiio is an open-source library, developed primarily by Analog Devices, for interfacing with Linux Industrial Input/Output (IIO) devices. This includes, but is not limited to, ADCs, DACs, accelerometers, gyroscopes, IMUs, pressure and temperature sensors, and RF transceivers. libiio can be used natively on the target itself, or to communicate remotely with a target over USB, Ethernet, or serial from a host Linux, Windows, or macOS machine.
The libiio repository includes a Zephyr module that turns a Zephyr application into such a remotely-accessible target. IIO devices and channels integrate with Zephyr's device model, with built-in drivers adapting existing Zephyr sensor and ADC/DAC drivers, and a Zephyr port of iiod, the IIO daemon, exposes those devices to a remote host over network sockets, a UART console, USB CDC-ACM, or a native USB vendor class. The existing libiio Python bindings, command-line tools (e.g. iio_info), and the Scopy desktop application then work against a Zephyr target unmodified, from a host Linux, Windows, or macOS machine. See the Zephyr port documentation for the full picture.
The core library is released under the GNU Lesser General Public License (LGPL) version 2.1, and its examples/test applications are released under the GNU General Public License (GPL) version 2.0. The Zephyr integration described above is licensed under the MIT license, as are the core files it statically links against.