thomsten / nrf-blinky

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nRF5x Blinky

Introduction

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.

Requirements / Dependencies

Hardware

  • A nRF5x development kit or dongle

Software

  • arm-none-eabi-gcc toolchain
  • nrfjprog and mergehex from the Nordic MDK
  • CMake
  • Nordic Semiconductor SDK v9.0

Building and Flashing

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

About


Languages

Language:CMake 71.8%Language:C 28.2%