24 lines
530 B
JSON
24 lines
530 B
JSON
{
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"build-tags": ["tinygo.riscv", "baremetal", "linux", "arm"],
|
|
"gc": "conservative",
|
|
"linker": "ld.lld",
|
|
"rtlib": "compiler-rt",
|
|
"libc": "picolibc",
|
|
"cflags": [
|
|
"-Werror",
|
|
"-mno-relax",
|
|
"-fno-exceptions", "-fno-unwind-tables", "-fno-asynchronous-unwind-tables",
|
|
"-ffunction-sections", "-fdata-sections"
|
|
],
|
|
"ldflags": [
|
|
"--gc-sections"
|
|
],
|
|
"extra-files": [
|
|
"targets/device/riscv/start.S",
|
|
"targets/device/riscv/handleinterrupt.S"
|
|
],
|
|
"gdb": ["riscv64-unknown-elf-gdb"]
|
|
}
|