aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/nrf51.json
blob: 60c0d5dc10a182416bbf72832e87d18da79c8eda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
	"inherits": ["cortex-m"],
	"llvm-target": "armv6m-none-eabi",
	"build-tags": ["nrf51822", "nrf51", "nrf"],
	"cflags": [
		"--target=armv6m-none-eabi",
		"-Qunused-arguments",
		"-DNRF51",
		"-I{root}/lib/CMSIS/CMSIS/Include"
	],
	"linkerscript": "targets/nrf51.ld",
	"extra-files": [
		"lib/nrfx/mdk/system_nrf51.c",
		"src/device/nrf/nrf51.s"
	],
	"openocd-target": "nrf51"
}