Obtaining the Build Sources

Building the PlutoSDR or M2k Firmware Image involves several components managed in individual source code repositories. However since these components are heavily interrelated the approach taken utilizes Git-Submodules.

Firmware image components (Submodules):

Submodules allow you to keep a Git repository as a subdirectory of another, the main Git repository.

The main repositories can be found here:

Cloning the repository

Important

The --recursive flag here is important otherwise the submodules are not included. The sources and all the build objects require approx 6 GByte of free disk space.

PlutoSDR-fw

~/devel$
git clone --recursive https://github.com/analogdevicesinc/plutosdr-fw.git

M2k-fw

~/devel$
git clone --recursive https://github.com/analogdevicesinc/m2k-fw.git

Updating your repository

~/devel/plutosdr-fw$
git pull --recurse-submodules