This project is a simple blinky application and serves as an example of how to use CMake with the Nordic Semiconductor nRF5x SoCs and SDKs.
- A nRF5x development kit or dongle
arm-none-eabi-gcc
toolchainnrfjprog
andmergehex
from the Nordic MDK- CMake
- Nordic Semiconductor SDK v9.0
To build and flash the device
# In project root repository
mkdir bin && cd bin
cmake -DSDK_ROOT=path/to/SDK9 .. # Use -G <generator> for another generator
make
make f_nrf_blinky # Invokes nrfjprog for flashing the application