The usemode driver and associated tools for airspy
C CMake


A tiny and efficient software defined radio.

This repository contains host software (Linux/Windows) for AirSpy, a project to produce a low cost, open source software radio platform.


How to build host software on Windows:

Prerequisites for mingw:

Note for Windows build: You shall always execute airspy_tools from Windows command shell and not from Cygwin or Mingw shell because on Cygwin/Mingw Ctrl C is not managed correctly and especially for airspy_rx the Ctrl C(abort) will not stop correctly and will corrupt the file.

For VisualStudio 2013 or later:

For MinGW:

cd host

mkdir build

cd build

Normal version:

  • cmake ../ -G "MSYS Makefiles" -DLIBUSB_INCLUDE_DIR=/usr/local/include/libusb-1.0/

Debug version:

  • cmake ../ -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Debug -DLIBUSB_INCLUDE_DIR=/usr/local/include/libusb-1.0/


make install

How to build the host software on Linux:

Prerequisites for Linux (Debian/Ubuntu/Raspbian):

sudo apt-get install build-essential cmake libusb-1.0-0-dev pkg-config

Build host software on Linux:



cd host-master

mkdir build

cd build



sudo make install

sudo ldconfig

Clean CMake temporary files/dirs:

cd host-master/build

rm -rf *

Principal authors:

Benjamin Vernoux and Youssef Touil

This file is part of AirSpy (based on HackRF project see