github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/targets/arduino-mega2560.json (about)

     1  {
     2      "inherits": ["atmega2560"],
     3      "build-tags": ["arduino_mega2560"],
     4      "ldflags": [
     5          "--defsym=_bootloader_size=8192"
     6      ],
     7      "flash-command":"avrdude -c wiring -b 115200 -p atmega2560 -P {port} -U flash:w:{hex}:i -v -D"
     8  }