Added BMP launch config
This commit is contained in:
parent
69c8a67861
commit
0aec97aa72
23
.vscode/launch.json
vendored
23
.vscode/launch.json
vendored
@ -1,6 +1,23 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Debug (BMP - OnChip-GDB)",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"executable": "${command:cmake.launchTargetPath}",
|
||||
"request": "launch",
|
||||
"type": "cortex-debug",
|
||||
"servertype": "bmp",
|
||||
"device": "RP2040",
|
||||
// Windows for COM1-COM9 -> COM4
|
||||
// Windows for COM10-XXX -> \\.\COM20
|
||||
// Unix -> /dev/ttyACM0
|
||||
"BMPGDBSerialPort": "\\\\.\\COM20",
|
||||
//"showDevDebugOutput": "raw",
|
||||
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
||||
// Work around for stopping at main on restart
|
||||
"runToEntryPoint": "main"
|
||||
},
|
||||
{
|
||||
"name": "Debug (PicoProbe - OpenOCD)",
|
||||
"cwd": "${workspaceRoot}",
|
||||
@ -16,12 +33,8 @@
|
||||
"target/rp2040.cfg"
|
||||
],
|
||||
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
||||
"runToMain": true,
|
||||
// Work around for stopping at main on restart
|
||||
"postRestartCommands": [
|
||||
"break main",
|
||||
"continue"
|
||||
]
|
||||
"runToEntryPoint": "main"
|
||||
},
|
||||
{
|
||||
"name": "Debug (J-Link)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user