Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit fbcb752

Browse files
committed
Update debug adapter speed
1 parent 5233b69 commit fbcb752

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To build and debug projects using command-line tools, you can open a terminal wi
5353
### Start OpenOCD and gdb
5454

5555
```powershell
56-
openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 1000"
56+
openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000"
5757
```
5858

5959
If you wish to run gdb from the command line, you can invoke it like this:

packages/pico-examples/ide/vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
1818
"runToEntryPoint": "main",
1919
"openOCDLaunchCommands": [
20-
"adapter speed 1000"
20+
"adapter speed 5000"
2121
]
2222
},
2323
{
@@ -43,7 +43,7 @@
4343
"miDebuggerPath": "arm-none-eabi-gdb",
4444
"miDebuggerServerAddress": "localhost:3333",
4545
"debugServerPath": "openocd",
46-
"debugServerArgs": "-f interface/cmsis-dap.cfg -f target/rp2040.cfg -c \"adapter speed 1000\"",
46+
"debugServerArgs": "-f interface/cmsis-dap.cfg -f target/rp2040.cfg -c \"adapter speed 5000\"",
4747
"serverStarted": "Listening on port .* for gdb connections",
4848
"filterStderr": true,
4949
"stopAtEntry": true,

packages/pico-examples/ide/vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"-f",
1212
"target/rp2040.cfg",
1313
"-c",
14-
"adapter speed 1000; program {${command:cmake.launchTargetPath}} verify reset exit"
14+
"adapter speed 5000; program {${command:cmake.launchTargetPath}} verify reset exit"
1515
],
1616
"problemMatcher": []
1717
},

0 commit comments

Comments
 (0)