Skip to content

Commit

Permalink
VSCode: Update OpenOCD launch.json to point to SVD fine & increase SW…
Browse files Browse the repository at this point in the history
…D speed. (#78)

* VSCode: Update OpenOCD launch.json to increase swd speed.

nRF52 SWD max frequency is 8 MHz and setting this value
makes it a bit faster to launch and respond to commands.

* VSCode: Update launch_codal.json for OpenOCD to point to SVD files.
  • Loading branch information
microbit-carlos authored Sep 14, 2023
1 parent 93b0c20 commit 7e6241f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,14 @@
"target/nrf52.cfg"
],
"interface": "swd",
"svdFile": "libraries/codal-nrf52/nrfx/mdk/nrf52833.svd",
"preLaunchCommands": [
"load build/MICROBIT",
"enable breakpoint",
"monitor reset"
],
"openOCDLaunchCommands": [
"adapter speed 8000"
]
}
]
Expand Down

0 comments on commit 7e6241f

Please sign in to comment.