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",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"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)",
|
"name": "Debug (PicoProbe - OpenOCD)",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
@ -16,12 +33,8 @@
|
|||||||
"target/rp2040.cfg"
|
"target/rp2040.cfg"
|
||||||
],
|
],
|
||||||
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
||||||
"runToMain": true,
|
|
||||||
// Work around for stopping at main on restart
|
// Work around for stopping at main on restart
|
||||||
"postRestartCommands": [
|
"runToEntryPoint": "main"
|
||||||
"break main",
|
|
||||||
"continue"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Debug (J-Link)",
|
"name": "Debug (J-Link)",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user