Steps for setting up the repository

These instructions are valid for a x64 Linux system with a Debian based environment.

Steps for compiling code and generating the hex files

Documentation with Doxygen

Install Doxygen for documentation by sudo apt-get install doxygen

Using a debugger/programmer

This repository supports two debuggers/programmers, namely Black Magic Probe (BMP) and Segger JLink.

For utilizing BMP

As mentioned here create a file named /etc/udev/rules.d/99-blackmagic.rules with the following contents:

  # Black Magic Probe
  # there are two connections, one for GDB and one for uart debugging
  SUBSYSTEM=="tty", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
  SUBSYSTEM=="tty", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"

Then unplug / replug the probe, or restart the computer.

For utilizing Segger JLink

Using the proprietary nRF5x SDK

Get the components part of nRF5x SDK. Its not in the repository as it does not have an open license.