tinygo/targets/atmega2560.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 строки
375 Б
JSON

{
"inherits": ["avr"],
"cpu": "atmega2560",
"build-tags": ["atmega2560", "atmega"],
"cflags": [
"-mmcu=atmega2560"
],
"ldflags": [
"-mmcu=avr6",
"-Wl,--defsym=_stack_size=512"
],
"linkerscript": "src/device/avr/atmega2560.ld",
"extra-files": [
"targets/avr.S",
"src/device/avr/atmega2560.s"
]
}