Installing dev tools

This tutorial details the steps to install the software development tools for the DecaWave Module Open Software Development Kit (DMOSDK) on a Debian-based GNU/Linux system, then create a new project based on DMOSDK.

Toolchain and framework installation

Two methods are available:

  • traditional tools installation,
  • via docker.

Method 1: Traditional Tools Installation

  1. DMOSDK depends mainly on three compoments: arm-none-eabi-gcc, make and python3. On Debian-based systems, arm-none-eabi-gcc is named gcc-arm-none-eabi. Install the packages:
 sudo apt-get install gcc-arm-none-eabi make python3 
  1. Clone the repository:
 git clone
  1. Test the firmware generation with the blinky example:
cd DMOSDK/examples/blinky
  1. Upload the binary (flash the target)

Method 2: Using a Docker image

To avoid dealing with the tools installation, a Dockerfile to build an all-in-one image is provided under docker.

Compilation and debug can be done inside a container:

docker run -it -v $(pwd):/dmosdk iritrmess/dmosdk:latest

Build the code documentation

You can build the code documentation using Doxygen:

sudo apt-get install doxygen
cd doc

Create a new project

To generate a new project, build the following source tree:

  • Create a directory for your project
  • Write a Makefile that define DWM1001_FRAMEWORK_PATH and includes build_tools/
  • Configure the software libraries with make menuconfig
  • Write your application’s code with at least a main function
  • Compile with make