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.
35 lines
910 B
35 lines
910 B
{
|
|
"llvm-target": "aarch64",
|
|
"cpu": "cortex-a57",
|
|
"features": "+aes,+crc,+crypto,+fp-armv8,+neon,+sha2,+v8a",
|
|
"build-tags": ["nintendoswitch", "arm64"],
|
|
"scheduler": "tasks",
|
|
"goos": "linux",
|
|
"goarch": "arm64",
|
|
"linker": "ld.lld",
|
|
"rtlib": "compiler-rt",
|
|
"libc": "picolibc",
|
|
"gc": "conservative",
|
|
"relocation-model": "pic",
|
|
"default-stack-size": 2048,
|
|
"cflags": [
|
|
"-target", "aarch64-unknown-none",
|
|
"-fPIE",
|
|
"-Werror",
|
|
"-fshort-enums",
|
|
"-fomit-frame-pointer",
|
|
"-fno-exceptions", "-fno-unwind-tables", "-fno-asynchronous-unwind-tables",
|
|
"-ffunction-sections", "-fdata-sections"
|
|
],
|
|
"ldflags": [
|
|
"-pie",
|
|
"-z", "notext"
|
|
],
|
|
"linkerscript": "targets/nintendoswitch.ld",
|
|
"extra-files": [
|
|
"targets/nintendoswitch.s",
|
|
"src/internal/task/task_stack_arm64.S",
|
|
"src/runtime/asm_arm64.S",
|
|
"src/runtime/runtime_nintendoswitch.S"
|
|
]
|
|
}
|
|
|