mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
- fix gazebo SITL debug
- now prompts you to select vehicle
- devcontainer.json container support https://code.visualstudio.com/docs/remote/containers
- this allows you to jump straight into working within a container (px4-dev-nuttx) on a fresh machine
- also helps with Codespaces https://github.com/features/codespaces
- plugin updates
- cpp extension pack, spell checking, CTest support
- cleanup intellisense
- the backup tag parser was a resource hog and didn't work very well
- fix problemMatcher support so that you can click on a build failure
46 lines
1.7 KiB
JSON
46 lines
1.7 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "jlink (@PX4_BOARD@)",
|
|
"device": "@DEBUG_DEVICE@",
|
|
"svdFile": "@DEBUG_SVD_FILE_PATH@",
|
|
"executable": "${command:cmake.launchTargetPath}",
|
|
"request": "launch",
|
|
"type": "cortex-debug",
|
|
"servertype": "jlink",
|
|
"interface": "swd",
|
|
//"ipAddress": "server:19020",
|
|
"cwd": "${workspaceFolder}",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"preLaunchCommands": [
|
|
"source ${workspaceFolder}/platforms/nuttx/Debug/PX4",
|
|
"source ${workspaceFolder}/platforms/nuttx/Debug/NuttX",
|
|
"source ${workspaceFolder}/platforms/nuttx/Debug/ARMv7M",
|
|
"set mem inaccessible-by-default off",
|
|
"set print pretty",
|
|
]
|
|
},
|
|
{
|
|
"name": "blackmagic (@PX4_BOARD@)",
|
|
"device": "@DEBUG_DEVICE@",
|
|
"svdFile": "@DEBUG_SVD_FILE_PATH@",
|
|
"executable": "${command:cmake.launchTargetPath}",
|
|
"request": "launch",
|
|
"type": "cortex-debug",
|
|
"servertype": "bmp",
|
|
"BMPGDBSerialPort": "/dev/ttyACM0",
|
|
"interface": "swd",
|
|
"cwd": "${workspaceFolder}",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"preLaunchCommands": [
|
|
"source ${workspaceFolder}/platforms/nuttx/Debug/PX4",
|
|
"source ${workspaceFolder}/platforms/nuttx/Debug/NuttX",
|
|
"source ${workspaceFolder}/platforms/nuttx/Debug/ARMv7M",
|
|
"set mem inaccessible-by-default off",
|
|
"set print pretty",
|
|
]
|
|
}
|
|
]
|
|
}
|