2022-07-03 14:07:25 +00: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",
|
2023-01-31 22:12:43 +00:00
|
|
|
"showDevDebugOutput": "raw",
|
2022-07-03 14:07:25 +00:00
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "Cortex Debug",
|
|
|
|
"cwd": "${workspaceRoot}",
|
|
|
|
"executable": "${command:cmake.launchTargetPath}",
|
|
|
|
"request": "launch",
|
|
|
|
"type": "cortex-debug",
|
|
|
|
"servertype": "openocd",
|
|
|
|
"gdbPath": "arm-none-eabi-gdb",
|
2024-05-05 11:17:44 +00:00
|
|
|
"openOCDLaunchCommands": ["adapter speed 5000"],
|
2022-07-03 14:07:25 +00:00
|
|
|
"device": "RP2040",
|
|
|
|
"configFiles": [
|
2024-05-05 11:17:44 +00:00
|
|
|
"interface/cmsis-dap.cfg",
|
2022-07-03 14:07:25 +00:00
|
|
|
"target/rp2040.cfg"
|
|
|
|
],
|
|
|
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
2024-05-05 11:17:44 +00:00
|
|
|
"runToEntryPoint": "main",
|
2022-07-03 14:07:25 +00:00
|
|
|
// Give restart the same functionality as runToMain
|
|
|
|
"postRestartCommands": [
|
|
|
|
"break main",
|
|
|
|
"continue"
|
2023-01-31 22:12:43 +00:00
|
|
|
],
|
|
|
|
"showDevDebugOutput": "raw"
|
2022-07-03 14:07:25 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|