Skip to content

Commit

Permalink
VSCode: Add launch entry to attach to running target. (lancaster-univ…
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-carlos authored Nov 13, 2023
1 parent 95dba76 commit c0914dd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,24 @@
"openOCDLaunchCommands": [
"adapter speed 8000"
]
},
{
"name": "(attach) micro:bit OpenOCD Cortex Debug",
"cwd": "${workspaceFolder}",
"executable": "build/MICROBIT",
"request": "attach",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/cmsis-dap.cfg",
"target/nrf52.cfg"
],
"interface": "swd",
"svdFile": "libraries/codal-nrf52/nrfx/mdk/nrf52833.svd",
"preAttachCommands": [],
"openOCDLaunchCommands": [
"adapter speed 8000"
]
}
]
}

0 comments on commit c0914dd

Please sign in to comment.