
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.
11 строки
371 Б
JSON
11 строки
371 Б
JSON
{
|
|
"inherits": ["atmega328p"],
|
|
"build-tags": ["arduino"],
|
|
"ldflags": [
|
|
"-Wl,--defsym=_bootloader_size=512",
|
|
"-Wl,--defsym=_stack_size=512"
|
|
],
|
|
"flash-command": "avrdude -c arduino -p atmega328p -P {port} -U flash:w:{hex}:i",
|
|
"serial-port": ["acm:2341:0043", "acm:2341:0001", "acm:2a03:0043", "acm:2341:0243"],
|
|
"emulator": "simavr -m atmega328p -f 16000000 {}"
|
|
}
|