github.com/aykevl/tinygo@v0.5.0/targets/digispark.json (about)

     1  {
     2  	"inherits": ["avr"],
     3  	"llvm-target": "avr-atmel-none",
     4  	"cpu": "attiny85",
     5  	"build-tags": ["digispark", "attiny85", "attiny", "avr2", "avr25"],
     6  	"cflags": [
     7  		"-mmcu=attiny85"
     8  	],
     9  	"ldflags": [
    10  		"-Wl,--defsym=_bootloader_size=2180",
    11  		"-Wl,--defsym=_stack_size=128",
    12  		"-T", "src/device/avr/attiny85.ld"
    13  	],
    14  	"extra-files": [
    15  		"targets/avr.S",
    16  		"src/device/avr/attiny85.s"
    17  	],
    18  	"flash": "micronucleus --run {hex}"
    19  }