This repository contains a simple project template for Nordic Semi nRF5x series CPUs.
It depends on:
- the Nordic Semi nrfx driver submodule
- the ARM CMSIS submodule
- included CMSIS Configuration Wizard (copied from the latest nRF5 SDK, upstream seems to be
https://sourceforge.net/p/cmsisconfig/activity/)
As submodules are used, you have to use git clone --recursive
or, after cloning, git submodule init && git submodule update.
If you want to adapt this template to your (new) project then follow the following steps:
In the Makefile, change:
PROJECT_NAME- depending on your target platform, optionally
CPU,CPUDEFINEandLINKER_SCRIPT SRC_FILES- optionally more
Also:
- move
project.cto the new name of your project - optionally pick the correct template headers
nrfx_glue.h,nrfx_log.handnrfx_config.hfromnrfx/templates/ - optionally run
make nrfx_configto configure the nordic nrfx submodule.