aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/avr.json
blob: 459fae32f382242ccb145ec08d3cbb4c4cf7cbd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
	"build-tags": ["avr", "baremetal", "linux", "arm"],
	"goos": "linux",
	"goarch": "arm",
	"compiler": "clang",
	"gc": "conservative",
	"linker": "llvm-build.master/bin/ld.lld",
	"scheduler": "none",
	"rtlib": "compiler-rt",
	"libc": "picolibc",
	"cflags": [
		"--target=avr-atmel-none",
		"-g",
		"-Werror",
		"-Qunused-arguments"
	],
	"ldflags": [
		"-T", "targets/avr.ld",
		"--gc-sections"
	],
	"extra-files": [
		"src/runtime/scheduler_avr.S"
	],
	"gdb": "avr-gdb"
}