Added BMP launch config
This commit is contained in:
parent
69c8a67861
commit
0aec97aa72
91
.vscode/launch.json
vendored
91
.vscode/launch.json
vendored
@ -1,41 +1,54 @@
|
|||||||
{
|
{
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "Debug (PicoProbe - OpenOCD)",
|
"name": "Debug (BMP - OnChip-GDB)",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"executable": "${command:cmake.launchTargetPath}",
|
"executable": "${command:cmake.launchTargetPath}",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "cortex-debug",
|
"type": "cortex-debug",
|
||||||
"servertype": "openocd",
|
"servertype": "bmp",
|
||||||
// This may need to be arm-none-eabi-gdb depending on your system
|
"device": "RP2040",
|
||||||
"gdbPath" : "${env:PICO_GDB}",
|
// Windows for COM1-COM9 -> COM4
|
||||||
"device": "RP2040",
|
// Windows for COM10-XXX -> \\.\COM20
|
||||||
"configFiles": [
|
// Unix -> /dev/ttyACM0
|
||||||
"interface/cmsis-dap.cfg",
|
"BMPGDBSerialPort": "\\\\.\\COM20",
|
||||||
"target/rp2040.cfg"
|
//"showDevDebugOutput": "raw",
|
||||||
],
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
||||||
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
// Work around for stopping at main on restart
|
||||||
"runToMain": true,
|
"runToEntryPoint": "main"
|
||||||
// Work around for stopping at main on restart
|
},
|
||||||
"postRestartCommands": [
|
{
|
||||||
"break main",
|
"name": "Debug (PicoProbe - OpenOCD)",
|
||||||
"continue"
|
"cwd": "${workspaceRoot}",
|
||||||
]
|
"executable": "${command:cmake.launchTargetPath}",
|
||||||
},
|
"request": "launch",
|
||||||
{
|
"type": "cortex-debug",
|
||||||
"name": "Debug (J-Link)",
|
"servertype": "openocd",
|
||||||
"cwd": "${workspaceRoot}",
|
// This may need to be arm-none-eabi-gdb depending on your system
|
||||||
"executable": "${command:cmake.launchTargetPath}",
|
"gdbPath" : "${env:PICO_GDB}",
|
||||||
"request": "launch",
|
"device": "RP2040",
|
||||||
"type": "cortex-debug",
|
"configFiles": [
|
||||||
"serverpath": "C:/Program Files/SEGGER/JLink_V782d/JLinkGDBServerCL.exe",
|
"interface/cmsis-dap.cfg",
|
||||||
"servertype": "jlink",
|
"target/rp2040.cfg"
|
||||||
"gdbPath": "${env:PICO_GDB}",
|
],
|
||||||
"device": "RP2040_M0_0",
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
||||||
"interface": "swd",
|
// Work around for stopping at main on restart
|
||||||
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
"runToEntryPoint": "main"
|
||||||
"runToEntryPoint": "main"
|
},
|
||||||
}
|
{
|
||||||
]
|
"name": "Debug (J-Link)",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"executable": "${command:cmake.launchTargetPath}",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"serverpath": "C:/Program Files/SEGGER/JLink_V782d/JLinkGDBServerCL.exe",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"gdbPath": "${env:PICO_GDB}",
|
||||||
|
"device": "RP2040_M0_0",
|
||||||
|
"interface": "swd",
|
||||||
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
||||||
|
"runToEntryPoint": "main"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user