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

     1  {
     2  	"inherits": ["cortex-m0"],
     3  	"build-tags": ["nrf51822", "nrf51", "nrf"],
     4  	"cflags": [
     5  		"-DNRF51",
     6  		"-I{root}/lib/CMSIS/CMSIS/Include",
     7  		"-I{root}/lib/nrfx/mdk"
     8  	],
     9  	"linkerscript": "targets/nrf51.ld",
    10  	"extra-files": [
    11  		"lib/nrfx/mdk/system_nrf51.c",
    12  		"src/device/nrf/nrf51.s"
    13  	],
    14  	"openocd-transport": "swd",
    15  	"openocd-target": "nrf51"
    16  }