Files
bizhang_-obav/.vscode/launch.json

115 lines
4.4 KiB
JSON
Raw Normal View History

2018-12-04 23:11:36 -05:00
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch (shell)",
2018-12-04 23:11:36 -05:00
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [
"${workspaceFolder}/ROMFS/px4fmu_common",
"-s", "etc/init.d-posix/rcS",
"-t", "${workspaceFolder}/test_data"
],
2018-12-04 23:11:36 -05:00
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build/px4_sitl_default/tmp",
"environment": [{"name": "PX4_SIM_MODEL", "value": "shell"}],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true,
"text": "handle SIGCONT nostop noprint nopass",
}
]
2018-12-04 23:11:36 -05:00
},
{
"name": "(lldb) Launch (shell)",
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [
"${workspaceFolder}/ROMFS/px4fmu_common",
"-s", "etc/init.d-posix/rcS",
"-t", "${workspaceFolder}/test_data"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build/px4_sitl_default/tmp",
"environment": [{"name": "PX4_SIM_MODEL", "value": "shell"}],
"externalConsole": true,
"MIMode": "lldb",
"setupCommands": [
{
"text": "pro hand -p true -s false -n false SIGCONT",
}
]
},
2018-12-04 23:11:36 -05:00
{
"name": "(gdb) Launch (jmavsim iris)",
2018-12-04 23:11:36 -05:00
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [
"${workspaceFolder}/ROMFS/px4fmu_common",
"-s", "etc/init.d-posix/rcS",
"-t", "${workspaceFolder}/test_data"
],
2018-12-04 23:11:36 -05:00
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build/px4_sitl_default/tmp",
"environment": [{"name": "PX4_SIM_MODEL", "value": "iris"}],
"externalConsole": false,
2018-12-04 23:11:36 -05:00
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true,
"text": "handle SIGCONT nostop noprint nopass",
2018-12-04 23:11:36 -05:00
}
],
"preLaunchTask": "jmavsim"
2018-12-04 23:11:36 -05:00
},
{
"name": "(lldb) Launch (jmavsim iris)",
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [
"${workspaceFolder}/ROMFS/px4fmu_common",
"-s", "etc/init.d-posix/rcS",
"-t", "${workspaceFolder}/test_data"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build/px4_sitl_default/tmp",
"environment": [{"name": "PX4_SIM_MODEL", "value": "iris"}],
"externalConsole": true,
"MIMode": "lldb",
"preLaunchTask": "jmavsim",
"setupCommands": [
{
"text": "pro hand -p true -s false -n false SIGCONT",
}
]
},
2018-12-05 13:28:27 -05:00
{
"name": "(jlink) px4_fmu-v2",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/build/px4_fmu-v2_default/px4_fmu-v2_default.elf",
"request": "launch",
"type": "cortex-debug",
"servertype": "jlink",
"device": "STM32F427VI",
"svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/STM32F427.svd",
2018-12-05 13:28:27 -05:00
"interface": "swd",
"ipAddress": null,
"serialNumber": null
},
2018-12-04 23:11:36 -05:00
]
}