tinygo/targets/avr.json
Ayke van Laethem aa3481e06a avr: fix target triple
It was `avr-atmel-none`, which is incorrect. It must be
`avr-unknown-unknown`.

Additionally, there is no reason to specify the target triple per chip,
it can be done for all AVR chips at once as it doesn't vary like
Cortex-M chips.
2020-06-30 20:48:42 +02:00

17 строки
342 Б
JSON

{
"llvm-target": "avr-unknown-unknown",
"build-tags": ["avr", "baremetal", "linux", "arm"],
"goos": "linux",
"goarch": "arm",
"compiler": "avr-gcc",
"gc": "conservative",
"linker": "avr-gcc",
"scheduler": "none",
"ldflags": [
"-T", "targets/avr.ld",
"-Wl,--gc-sections"
],
"extra-files": [
"src/runtime/scheduler_avr.S"
]
}