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