tinygo/targets/avr.json
Ayke van Laethem 54169c714f all: use baremetal build tag
This simplifies adding more baremetal targets, like a GameBoy Advance,
or baremetal x86 for unikernels.
2019-08-04 17:12:07 +02:00

12 строки
222 Б
JSON

{
"build-tags": ["avr", "baremetal", "linux", "arm"],
"goos": "linux",
"goarch": "arm",
"compiler": "avr-gcc",
"gc": "leaking",
"linker": "avr-gcc",
"ldflags": [
"-T", "targets/avr.ld",
"-Wl,--gc-sections"
]
}