mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
aa8e12c464
Fix ldflags Update targets/arduino-mega1280.json Co-authored-by: Ayke <aykevanlaethem@gmail.com> Update atmega1280.json Update Makefile
18 lines
376 B
JSON
18 lines
376 B
JSON
{
|
|
"inherits": ["avr"],
|
|
"cpu": "atmega1280",
|
|
"build-tags": ["atmega1280", "atmega"],
|
|
"cflags": [
|
|
"-mmcu=atmega1280"
|
|
],
|
|
"ldflags": [
|
|
"-mmcu=avr51",
|
|
"-Wl,--defsym=_stack_size=512"
|
|
],
|
|
"linkerscript": "src/device/avr/atmega1280.ld",
|
|
"extra-files": [
|
|
"targets/avr.S",
|
|
"src/device/avr/atmega1280.s"
|
|
]
|
|
}
|