2022-12-23 12:23:05 +01:00
|
|
|
{
|
2022-05-30 14:10:48 +02:00
|
|
|
// 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": "Cortex Debug",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"executable": "${command:cmake.launchTargetPath}",
|
|
|
|
"request": "launch",
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"servertype": "openocd",
|
2022-12-23 12:23:05 +01:00
|
|
|
"gdbPath": "gdb-multiarch",
|
2022-05-30 14:10:48 +02:00
|
|
|
"device": "RP2040",
|
|
|
|
"configFiles": [
|
2022-12-23 12:23:05 +01:00
|
|
|
"interface/raspberrypi-swd.cfg",
|
2022-05-30 14:10:48 +02:00
|
|
|
"target/rp2040.cfg"
|
|
|
|
],
|
|
|
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
|
|
|
"runToEntryPoint": "main",
|
2022-12-23 12:23:05 +01:00
|
|
|
// Give restart the same functionality as runToEntryPoint - main
|
|
|
|
"postRestartCommands": [
|
|
|
|
"break main",
|
|
|
|
"continue"
|
|
|
|
]
|
2022-05-30 14:10:48 +02:00
|
|
|
}
|
|
|
|
]
|
2022-12-23 12:23:05 +01:00
|
|
|
}
|