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.
Этот коммит содержится в:
Ayke van Laethem 2020-06-08 16:29:54 +02:00 коммит произвёл Ron Evans
родитель 169d5f17b8
коммит 4e4b5955db

Просмотреть файл

@ -4,5 +4,7 @@
"flash-method": "command", "flash-method": "command",
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset", "flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
"msd-volume-name": "JLINK", "msd-volume-name": "JLINK",
"msd-firmware-name": "firmware.hex" "msd-firmware-name": "firmware.hex",
"openocd-interface": "jlink",
"openocd-transport": "swd"
} }