
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.
17 строки
451 Б
JSON
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 {}"
|
|
}
|