diff options
Diffstat (limited to 'targets/pca10040.json')
-rw-r--r-- | targets/pca10040.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/targets/pca10040.json b/targets/pca10040.json index 1bff6e8cc..7685be427 100644 --- a/targets/pca10040.json +++ b/targets/pca10040.json @@ -1,7 +1,8 @@ { "inherits": ["nrf52"], "build-tags": ["pca10040"], - "flash": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset", - "ocd-daemon": ["openocd", "-f", "interface/jlink.cfg", "-c", "transport select swd", "-f", "target/nrf51.cfg"], - "gdb-initial-cmds": ["target remote :3333", "monitor halt", "load", "monitor reset", "c"] + "flash-method": "openocd", + "flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset", + "openocd-interface": "jlink", + "openocd-transport": "swd" } |