tinygo/targets/atmega1284p.json
Ayke van Laethem bd56636d58 all: make emulator command a string instead of a []string
This matches the flash-command and is generally a bit easier to work
with.
This commit also prepares for allowing multiple formats to be used in
the emulator command, which is necessary for the esp32.
2022-04-28 07:50:03 +02:00

17 строки
451 Б
JSON

{
"inherits": ["avr"],
"cpu": "atmega1284p",
"build-tags": ["atmega1284p", "atmega"],
"serial": "uart",
"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 {}"
}