mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 03:27:48 +00:00
8f9419a35d
Most tests don't pass yet, so can't add this test to the standard tests, yet.
28 lines
547 B
JSON
28 lines
547 B
JSON
{
|
|
"llvm-target": "riscv32--none",
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"build-tags": ["tinygo.riscv", "baremetal", "linux", "arm"],
|
|
"gc": "conservative",
|
|
"compiler": "clang",
|
|
"linker": "ld.lld",
|
|
"cflags": [
|
|
"--target=riscv32--none",
|
|
"-march=rv32imac",
|
|
"-mabi=ilp32",
|
|
"-Os",
|
|
"-Werror",
|
|
"-nostdinc",
|
|
"-fno-exceptions", "-fno-unwind-tables",
|
|
"-ffunction-sections", "-fdata-sections"
|
|
],
|
|
"ldflags": [
|
|
"-melf32lriscv",
|
|
"--gc-sections"
|
|
],
|
|
"extra-files": [
|
|
"src/device/riscv/start.S"
|
|
],
|
|
"gdb": "riscv64-unknown-elf-gdb"
|
|
}
|