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

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