mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 18:47:47 +00:00
4e4b5955db
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.
11 lines
291 B
JSON
11 lines
291 B
JSON
{
|
|
"inherits": ["nrf52840"],
|
|
"build-tags": ["pca10056"],
|
|
"flash-method": "command",
|
|
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
|
|
"msd-volume-name": "JLINK",
|
|
"msd-firmware-name": "firmware.hex",
|
|
"openocd-interface": "jlink",
|
|
"openocd-transport": "swd"
|
|
}
|