aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/nrf51.json
blob: 05ca1dee13951a4b9ee4cca9d9ea912d95734e34 (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",
		"-Qunused-arguments",
		"-DNRF51",
		"-I{root}/lib/CMSIS/CMSIS/Include"
	],
	"ldflags": [
		"-T", "targets/nrf51.ld"
	],
	"extra-files": [
		"lib/nrfx/mdk/system_nrf51.c",
		"src/device/nrf/nrf51.s"
	]
}