2025-07-26 10:49:35 +10:00
|
|
|
{
|
|
|
|
|
"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": [
|
2025-08-20 10:27:01 +08:00
|
|
|
"targets/device/riscv/start.S",
|
|
|
|
|
"targets/device/riscv/handleinterrupt.S"
|
2025-07-26 10:49:35 +10:00
|
|
|
],
|
|
|
|
|
"gdb": ["riscv64-unknown-elf-gdb"]
|
|
|
|
|
}
|