aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/atmega1284p.json
blob: ef423942615b98b690069ac7c38b31780a3980b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    "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"
    ],
    "emulator": ["simavr", "-m", "atmega1284p", "-f", "20000000"]
}