37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
// 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 (J-Link via OpenOCD)",
|
|
"cwd": "${workspaceFolder}",
|
|
"executable": "${command:cmake.launchTargetPath}",
|
|
"request": "launch",
|
|
"type": "cortex-debug",
|
|
"servertype": "openocd",
|
|
"gdbPath": "arm-none-eabi-gdb",
|
|
"device": "RP2350",
|
|
"targetProcessor": 0,
|
|
"configFiles": [
|
|
"interface/jlink.cfg",
|
|
"target/rp2350.cfg"
|
|
],
|
|
"openOCDPreConfigLaunchCommands": [
|
|
"set USE_CORE 0"
|
|
],
|
|
"openOCDLaunchCommands": [
|
|
"adapter speed 1000"
|
|
],
|
|
"postLaunchCommands": [
|
|
"monitor cold_reset",
|
|
"monitor halt"
|
|
],
|
|
// "runToEntryPoint": "main",
|
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2350/hardware_regs/rp2350.svd",
|
|
"preLaunchTask": "CMake: build"
|
|
}
|
|
]
|
|
}
|