aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/cortex-m.json
blob: 979c09d1fbde93a53219cf126c3f03428af139a8 (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
26
27
{
	"build-tags": ["cortexm", "baremetal", "linux", "arm"],
	"goos": "linux",
	"goarch": "arm",
	"compiler": "clang",
	"gc": "conservative",
	"scheduler": "tasks",
	"linker": "ld.lld",
	"rtlib": "compiler-rt",
	"libc": "picolibc",
	"cflags": [
		"-Oz",
		"-mthumb",
		"-Werror",
		"-fshort-enums",
		"-fno-exceptions", "-fno-unwind-tables",
		"-ffunction-sections", "-fdata-sections"
	],
	"ldflags": [
		"--gc-sections"
	],
	"extra-files": [
		"src/device/arm/cortexm.s",
		"src/runtime/scheduler_cortexm.S"
	],
	"gdb": "gdb-multiarch"
}