[go: up one dir, main page]

Skip to content

analogdevicesinc/iio-emu

Repository files navigation

IIO EMU

Server application for libiio clients. IIO-Emu can be extended to simulate different behaviors.

Available options:

option arguments description
generic <path_to_XML> <device_id>@<file_path> ... Creates a server that uses a context for accessing attributes based on the XML file. The file should respect the given template. RX or TX devices can be linked to a file from which to stream data
adalm2000 - Creates a server for emulating the basic behavior of ADALM2000

Build instructions

Linux

Dependencies

Basic system setup

sudo apt-get update
sudo apt-get install cmake build-essential

Install Prerequisites

sudo apt-get install libxml2-dev

Build IIOD protocol lib

git clone https://github.com/analogdevicesinc/libtinyiiod.git
cd libtinyiiod
mkdir build && cd build
cmake -DBUILD_EXAMPLES=OFF ..
make
sudo make install

Build iio-emu

git clone https://github.com/analogdevicesinc/iio-emu.git
cd iio-emu
mkdir build && cd build
cmake ..
make