mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 20:13:40 +00:00
5089d1a5a7
Not tested on actual hardware, only on simavr. The main motivation for adding this chip is to be able to run simulated tests using a much larger memory space (16kB RAM, 128kB flash) without jumping to the XMega devices that may not be as well supported by LLVM.
20 lines
461 B
JSON
20 lines
461 B
JSON
{
|
|
"inherits": ["avr"],
|
|
"llvm-target": "avr-atmel-none",
|
|
"cpu": "atmega1284p",
|
|
"build-tags": ["atmega1284p", "atmega"],
|
|
"cflags": [
|
|
"-mmcu=atmega1284p"
|
|
],
|
|
"ldflags": [
|
|
"-mmcu=avr51",
|
|
"-Wl,--defsym=_bootloader_size=0",
|
|
"-Wl,--defsym=_stack_size=512"
|
|
],
|
|
"linkerscript": "src/device/avr/atmega1284p.ld",
|
|
"extra-files": [
|
|
"targets/avr.S",
|
|
"src/device/avr/atmega1284p.s"
|
|
]
|
|
}
|