aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/pca10040.json
blob: 48f800bd3e9cc401cac2a0be773ea7bbbe5c92a4 (plain)
1
2
3
4
5
6
7
8
{
	"llvm-target": "armv7em-none-eabi",
	"build-tags": ["nrf", "nrf52", "nrf52832", "arm", "js", "wasm"],
	"linker": "arm-none-eabi-gcc",
	"pre-link-args": ["-nostdlib", "-nostartfiles", "-mcpu=cortex-m4", "-mthumb", "-T", "targets/nrf52.ld", "-Wl,--gc-sections", "-fno-exceptions", "-fno-unwind-tables", "-ffunction-sections", "-fdata-sections", "-Os", "-DNRF52832_XXAA", "-Ilib/CMSIS/CMSIS/Include", "lib/nrfx/mdk/system_nrf52.c", "src/device/nrf/nrf52.s"],
	"objcopy": "arm-none-eabi-objcopy",
	"flash": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset"
}