Skip to content

Commit 4e4b595

Browse files
aykevldeadprogram
authored andcommitted
nrf: support debugging the PCA10056
This change adds support for `tinygo gdb` on the PCA10056. The board is normally flashed with the MSD programmer. Debugging needs a real debugger interface however, which is relatively simple by just adding the right OpenOCD configuration.
1 parent 169d5f1 commit 4e4b595

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

targets/pca10056.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"flash-method": "command",
55
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
66
"msd-volume-name": "JLINK",
7-
"msd-firmware-name": "firmware.hex"
7+
"msd-firmware-name": "firmware.hex",
8+
"openocd-interface": "jlink",
9+
"openocd-transport": "swd"
810
}

0 commit comments

Comments
 (0)