mirror of https://github.com/tinygo-org/tinygo.git
wasmstm32webassemblymicrocontrollerarmavrspiwasiadafruitarduinocircuitplayground-expressgpioi2cllvmmicrobitnrf51nrf52nrf52840samd21tinygo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
518 B
25 lines
518 B
{
|
|
"llvm-target": "riscv32--none",
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"build-tags": ["tinygo.riscv", "baremetal", "linux", "arm"],
|
|
"gc": "conservative",
|
|
"compiler": "riscv64-unknown-elf-gcc",
|
|
"linker": "riscv64-unknown-elf-ld",
|
|
"cflags": [
|
|
"-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"
|
|
]
|
|
}
|
|
|