Skip to content

Commit

Permalink
vscode launch.json add black magic probe debug config
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Jun 14, 2019
1 parent fe2dff6 commit 5e058ae
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,27 @@
"showtasks",
]
},
{
"name": "Debug px4_fmu-v2/v3/v4 (blackmagic)",
"device": "STM32F427VI",
"svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/STM32F427.svd",
"executable": "${command:cmake.launchTargetPath}",
"request": "launch",
"type": "cortex-debug",
"servertype": "bmp",
"BMPGDBSerialPort": "/dev/ttyACM0",
"interface": "swd",
"cwd": "${workspaceRoot}",
"internalConsoleOptions": "openOnSessionStart",
"preLaunchCommands": [
"source ${workspaceRoot}/platforms/nuttx/Debug/PX4",
"source ${workspaceRoot}/platforms/nuttx/Debug/NuttX",
"source ${workspaceRoot}/platforms/nuttx/Debug/ARMv7M",
"set mem inaccessible-by-default off",
"set print pretty",
"showtasks",
]
},
{
"name": "Debug px4_fmu-v4pro (jlink)",
"device": "STM32F469VI",
Expand Down

0 comments on commit 5e058ae

Please sign in to comment.