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.
28 lines
564 B
28 lines
564 B
{
|
|
"build-tags": ["cortexm", "baremetal", "linux", "arm"],
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"compiler": "clang",
|
|
"gc": "conservative",
|
|
"scheduler": "tasks",
|
|
"linker": "ld.lld",
|
|
"rtlib": "compiler-rt",
|
|
"cflags": [
|
|
"-Oz",
|
|
"-mthumb",
|
|
"-Werror",
|
|
"-fshort-enums",
|
|
"-nostdlibinc",
|
|
"-Wno-macro-redefined",
|
|
"-fno-exceptions", "-fno-unwind-tables",
|
|
"-ffunction-sections", "-fdata-sections"
|
|
],
|
|
"ldflags": [
|
|
"--gc-sections"
|
|
],
|
|
"extra-files": [
|
|
"src/device/arm/cortexm.s",
|
|
"src/runtime/scheduler_cortexm.S"
|
|
],
|
|
"gdb": "arm-none-eabi-gdb"
|
|
}
|
|
|