Debugging POC

This commit is contained in:
lukstep
2023-09-25 22:57:46 +02:00
parent 3d8b06e9b7
commit 0d802ea304
7 changed files with 82 additions and 7 deletions

25
test_poject/.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,25 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Pico debug",
"cwd": "${workspaceFolder}",
"gdbPath": "/usr/bin/gdb-multiarch",
"executable": "/home/dev/build/sample.elf",
"request": "launch",
"type": "cortex-debug",
"runToEntryPoint": "main",
"servertype": "external",
"gdbTarget": "host.docker.internal:3333",
"overrideLaunchCommands": [
"monitor adapter speed 5000",
"monitor reset init",
"load ${command:cmake.launchTargetPath}"
],
}
]
}