raspikeyer/.vscode/launch.json

34 lines
993 B
JSON
Raw Normal View History

2024-02-06 15:50:50 +01: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",
2024-02-10 21:53:17 +01:00
"gdbPath": "arm-none-eabi-gdb",
2024-02-06 15:50:50 +01:00
"serverArgs": [
2024-02-10 23:25:55 +01:00
"-c", "adapter speed 5000",
//"-c", "set USE_CORE 0"
2024-02-06 15:50:50 +01:00
],
"device": "RP2040",
"configFiles": [
2024-02-10 23:25:55 +01:00
"interface/cmsis-dap.cfg",
2024-02-06 15:50:50 +01:00
"target/rp2040.cfg"
],
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
"runToEntryPoint": "main",
// Give restart the same functionality as runToEntryPoint - main
"postRestartCommands": [
"break main",
"continue"
]
}
]
}