add support for IDE v2 debug with openocd + cmsis-dap probe

jlink over openocd cfg is also added for reference. User with jlink want
to debug can either use debug_custom.json or change the
build.openocdscript to jlink_nrf52.cfg instead
This commit is contained in:
hathach committed 2023-06-23 12:58:20 +07:00
1 parent cd74d9e11e
commit a6dfad8cd2
6 files changed
+92 -46

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
{
"servertype": "jlink",
"device": "nrf52840_xxaa",
"interface": "SWD",
"serverpath": "JLinkGDBServer"
}
+3
View File
@@ -0,0 +1,3 @@
source [find interface/cmsis-dap.cfg]
transport select swd
source [find target/nrf52.cfg]
+3
View File
@@ -0,0 +1,3 @@
source [find interface/jlink.cfg]
transport select swd
source [find target/nrf52.cfg]