mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
aa3481e06a
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.
18 lines
375 B
JSON
18 lines
375 B
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"
|
|
]
|
|
}
|