From 0d488d658c84f4990de240680e379fbc10126edc Mon Sep 17 00:00:00 2001
From: jk23909 <jjkunnappally@gmail.com>
Date: Mon, 20 Nov 2023 14:40:48 -0600
Subject: [PATCH] Update launch-probe-swd.json

adding openOCD configuration to launch-probe-swd.json that is needed according to the Getting Started doc
---
 ide/vscode/launch-probe-swd.json | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ide/vscode/launch-probe-swd.json b/ide/vscode/launch-probe-swd.json
index 38912e894..0125469b3 100644
--- a/ide/vscode/launch-probe-swd.json
+++ b/ide/vscode/launch-probe-swd.json
@@ -16,6 +16,9 @@
                 "interface/cmsis-dap.cfg",
                 "target/rp2040.cfg"
             ],
+            "openOCDLaunchCommands": [
+                "adapter speed 5000"
+            ],
             "svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
             "runToEntryPoint": "main",
             // Work around for stopping at main on restart